AwesomeHD: Log wrong passkey. fix #1912
This commit is contained in:
@@ -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')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user