diff --git a/resources/scripts/scrapers/translate-feed.py b/resources/scripts/scrapers/translate-feed.py index 433a50249..6a1993896 100644 --- a/resources/scripts/scrapers/translate-feed.py +++ b/resources/scripts/scrapers/translate-feed.py @@ -9,7 +9,7 @@ # curl 'https://phys.org/rss-feed/' | python ./translate-feed.py "en" "pt_BR" "true" # # You must provide three command line arguments: -# translate-feed.py [FROM-LANGUAGE] [TO-LANGUAGE] [RUN-PARALLEL] +# translate-feed.py [FROM-LANGUAGE] [TO-LANGUAGE] [RUN-PARALLEL] [FEED-ENCODING (optional)] import json import re @@ -125,4 +125,4 @@ else: out_xml = ET.tostring(rss_document) out_decoded_xml = out_xml.decode() -print(out_decoded_xml) \ No newline at end of file +print(out_decoded_xml)