Handy-News-Reader: Filter non-english posts

parent c1691bfe
Pipeline #50013140 passed with stage
in 1 minute and 26 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