Skip to content

Commit cc50c81

Browse files
Merge pull request #22 from Nowado/master
Changed gnewsclient.py so it works with current GoogleNews
2 parents ef3ec24 + 49c3a74 commit cc50c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gnewsclient/gnewsclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def scrape_feed(self, soup):
132132
for entry in entries:
133133
article = {}
134134
article['title'] = entry.title.text
135-
article['link'] = entry.link['href'].split('&url=')[1]
135+
article['link'] = entry.link['href']
136136
article['releasedAt'] = entry.updated.text
137137

138138
try:

0 commit comments

Comments
 (0)