This commit is contained in:
unkn0w7n 2024-03-24 10:50:47 +05:30
parent a9d42f8183
commit 3cafbb9c0c
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ from datetime import date
from collections import defaultdict
# figure out your local edition id from the log of this recipe
edi_id = 225 # TELANGANA MAIN II - 225
edi_id = 34 # HYDERABAD MAIN I - 34
today = date.today().strftime('%d/%m/%Y')

View File

@ -82,7 +82,7 @@ class TheWeek(BasicNewsRecipe):
'culture-life', 'business', 'travel', 'arts-life', 'history'
]
for sec in sections:
a = 'https://news.google.com/rss/search?q=when:{}h+allinurl:{}&hl=en-IN&gl=US&ceid=US:en'
a = 'https://news.google.com/rss/search?q=when:{}h+allinurl:{}&hl=en-US&gl=US&ceid=US:en'
feeds.append((sec.capitalize(), a.format(when, quote(index + sec, safe=''))))
feeds.append(('Others', a.format(when, quote(index, safe=''), '')))

View File

@ -82,7 +82,7 @@ class TheWeek(BasicNewsRecipe):
'culture-life', 'business', 'travel', 'arts-life', 'history'
]
for sec in sections:
a = 'https://news.google.com/rss/search?q=when:{}h+allinurl:{}&hl=en-IN&gl=US&ceid=US:en'
a = 'https://news.google.com/rss/search?q=when:{}h+allinurl:{}&hl=en-GB&gl=GB&ceid=GB:en'
feeds.append((sec.capitalize(), a.format(when, quote(index + sec, safe=''))))
feeds.append(('Others', a.format(when, quote(index, safe=''), '')))