Commit a77c98cd authored by vanitasvitae's avatar vanitasvitae

Merge branch 'handynewsreader_lang' into 'master'

Handy-News-Reader: Filter non-english posts

See merge request !29
parents c1691bfe 44115af4
Pipeline #60158655 passed with stage
in 1 minute and 47 seconds
......@@ -95,6 +95,7 @@ name = Guardian Project
# Handy News Reader
[https://handynewsreader.blogspot.com/feeds/posts/default]
filters = lang_en.py
name = Handy News Reader
# LineageOS
......
#remove all tweets
import sys
data = sys.stdin.read()
if data.find('<category scheme="http://www.blogger.com/atom/ns#" term="us"/>') > 0:
sys.stdout.write(data)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment