Skip to content

Commit 5ece5a9

Browse files
Update lostfilm parser
1 parent 8a9cfb3 commit 5ece5a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/lostfilm_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get_redirect_url(torrent_mirror, series_id, lostfilm_lf_session, proxies):
7575
cookies = {'lf_session': lostfilm_lf_session}
7676
res = network.get(torrent_page, cookies=cookies, proxies=proxies)
7777
soup = BeautifulSoup(res.text, 'html.parser')
78-
redirect_url = soup.find('a').attrs['href']
78+
redirect_url = soup.find('meta').attrs['content'][7:]
7979

8080
return redirect_url
8181

0 commit comments

Comments
 (0)