Skip to content

Commit

Permalink
Fix category
Browse files Browse the repository at this point in the history
  • Loading branch information
larsenv committed Sep 16, 2023
1 parent 3eb2397 commit 73d19b1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Channels/News_Channel/newsdownload.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"health": "science",
"technology": "technology",
"oddities": "oddities",
"canada": ["canada_", "canada"],
"canada": ["canada", "canada_"],
"world-news": "world",
"sports": "sports",
"entertainment": "entertainment",
Expand Down Expand Up @@ -583,7 +583,11 @@ def parse_feed(self, key, value, i):
or self.source != "AFP_German"
and current_time - updated_time < 60
): # if it's a new article since the last hour
i += 1
try:
i += 1
except:
print(feed)

j += 1

if (
Expand Down

0 comments on commit 73d19b1

Please sign in to comment.