hd4me: fix channel

This commit is contained in:
ilmich
2024-05-10 09:57:22 +02:00
parent 412025c514
commit 895b81edb7
+2
View File
@@ -57,5 +57,7 @@ def search(item, text):
def findvideos(item): def findvideos(item):
url = support.match(item, patron=r'<a class=["]?bot1["]? href="([^"]+)"').match url = support.match(item, patron=r'<a class=["]?bot1["]? href="([^"]+)"').match
if not url.startswith('http'):
url = host + url
url = support.httptools.downloadpage(url, followredirect=True).url url = support.httptools.downloadpage(url, followredirect=True).url
return support.server(item, url) return support.server(item, url)