disable warning when unable to get public profile from website
This commit is contained in:
parent
46462995b9
commit
6cf1eed780
1 changed files with 3 additions and 1 deletions
|
|
@ -314,7 +314,9 @@ class AuMBrowser(BaseBrowser):
|
||||||
try:
|
try:
|
||||||
doc = self.get_document(self.openurl('http://www.adopteunmec.com/profile/%s' % id))
|
doc = self.get_document(self.openurl('http://www.adopteunmec.com/profile/%s' % id))
|
||||||
except BrowserUnavailable:
|
except BrowserUnavailable:
|
||||||
self.logger.warning('Unable to find profile of %s on website' % id)
|
pass
|
||||||
|
# FUCK YOU AUM
|
||||||
|
#self.logger.warning('Unable to find profile of %s on website' % id)
|
||||||
else:
|
else:
|
||||||
profile['popu'] = {}
|
profile['popu'] = {}
|
||||||
for tr in doc.xpath('//div[@id="popularity"]//tr'):
|
for tr in doc.xpath('//div[@id="popularity"]//tr'):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue