Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
yuletide committed Jun 4, 2014
1 parent 5af948c commit bfcc8ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scraper.py
Expand Up @@ -87,7 +87,7 @@ def get_failed_bands(limit=''):
return scraperwiki.sqlite.select("* FROM data where scraped == '-1'")

def scrape_band(band):
print 'scraping band '+str(band)
print 'scraping band '+ band['name']
if band['link']:
r = requests.get(band['link'])
if r.status_code == 200 and r.text:
Expand Down Expand Up @@ -161,8 +161,7 @@ def get_band_by_id(id):
scrape_genre(genre)
'''
print "running!"
scrape_genre('heavy')
scrape_bands()
scrape_genre('black')



0 comments on commit bfcc8ed

Please sign in to comment.