fix vedohd findhost
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ def findhost():
|
|||||||
data = httptools.downloadpage(cb01Url).data
|
data = httptools.downloadpage(cb01Url).data
|
||||||
global host, headers
|
global host, headers
|
||||||
|
|
||||||
host = scrapertoolsV2.find_single_match(data, r'<a class="?mega-menu-link"? href=(https://vedohd[^/"]+)')+'/'
|
host = scrapertoolsV2.find_single_match(data, r'class="?mega-menu-link"? href="?(https://vedohd[^/"]+)"?')+'/'
|
||||||
|
|
||||||
if 'https' not in host: # in caso cb01 cambi, si spera di riuscire ad accedere da questo URL
|
if 'https' not in host: # in caso cb01 cambi, si spera di riuscire ad accedere da questo URL
|
||||||
host = "https://vedohd.pw/"
|
host = "https://vedohd.pw/"
|
||||||
|
|||||||
Reference in New Issue
Block a user