Browse Source

AwesomeHD: Log wrong passkey. fix #1912

pull/1938/head
Ruud 12 years ago
parent
commit
30f5a66487
  1. 5
      couchpotato/core/providers/torrent/awesomehd/main.py

5
couchpotato/core/providers/torrent/awesomehd/main.py

@ -25,6 +25,11 @@ class AwesomeHD(TorrentProvider):
if data: if data:
try: try:
soup = BeautifulSoup(data) soup = BeautifulSoup(data)
if soup.find('error'):
log.error(soup.find('error').get_text())
return
authkey = soup.find('authkey').get_text() authkey = soup.find('authkey').get_text()
entries = soup.find_all('torrent') entries = soup.find_all('torrent')

Loading…
Cancel
Save