File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -105,9 +105,9 @@ def set_params(self):
105105
106106 # setting location
107107 if self .location != None :
108- self .params ['geo' ] = self .location
109- # topic overrides location parameter. So, overriding it.
110- self .params ['topic' ] = None
108+ self .params ['geo' ] = self .location
109+ # topic overrides location parameter. So, overriding it.
110+ self .params ['topic' ] = None
111111
112112 # params setting successful
113113 return True
@@ -144,6 +144,6 @@ def scrape_feed(self, soup):
144144 if len (articles )== 0 :
145145 raise NotFound
146146 except NotFound :
147- print ("The articles for the given response are not found" )
148- return
147+ print ("The articles for the given response are not found. " )
148+ return
149149 return articles
You can’t perform that action at this time.
0 commit comments