This commit is contained in:
Kovid Goyal 2024-03-24 10:54:48 +05:30
commit 2ccacce456
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
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=''), '')))