july 2013 scraper fixes
[disclosr.git] / documents / scrapers / be9996f0ac58f71f23d074e82d44ead3.py
blob:a/documents/scrapers/be9996f0ac58f71f23d074e82d44ead3.py -> blob:b/documents/scrapers/be9996f0ac58f71f23d074e82d44ead3.py
--- a/documents/scrapers/be9996f0ac58f71f23d074e82d44ead3.py
+++ b/documents/scrapers/be9996f0ac58f71f23d074e82d44ead3.py
@@ -17,7 +17,7 @@
 				dldivs = soup.find('div',class_="download")
 				if dldivs != None:
                              		for atag in dldivs.find_all("a"):
-                                		if atag.has_key('href'):
+                                		if atag.has_attr('href'):
                                         		links.append(scrape.fullurl(url,atag['href']))
 				nodldivs = soup.find('div',class_="incompleteNotification")
 				if nodldivs != None and nodldivs.stripped_strings != None: