sourcemash / Sourcemash

Read Your News Faster.
GNU General Public License v2.0
3 stars 0 forks source link

Scraper BeautifulSoup failure #265

Closed swglad closed 9 years ago

swglad commented 9 years ago

Traceback (most recent call last): File "manage.py", line 153, in manager.run() File "/Users/scottgladstone/Sourcemash/flask/lib/python2.7/site-packages/flask_script/init.py", line 412, in run result = self.handle(sys.argv[0], sys.argv[1:]) File "/Users/scottgladstone/Sourcemash/flask/lib/python2.7/site-packages/flask_script/init.py", line 383, in handle res = handle(_args, _config) File "/Users/scottgladstone/Sourcemash/flask/lib/python2.7/site-packages/flask_script/commands.py", line 216, in call return self.run(_args, _kwargs) File "manage.py", line 98, in feed_seed scrape_and_categorize_articles() File "/Users/scottgladstone/Sourcemash/worker/scraper.py", line 26, in scrape_and_categorize_articles scrape_feed_articles(feed) File "/Users/scottgladstone/Sourcemash/worker/scraper.py", line 57, in scrape_feed_articles img_url = soup.find('img')['src'] TypeError: <flask_script.commands.Command object at 0x10b221250>: 'NoneType' object has no attribute 'getitem'

swglad commented 9 years ago

Duplicate of #263.