aggiornamento url e test video su akstream
This commit is contained in:
@@ -1,43 +0,0 @@
|
|||||||
{
|
|
||||||
"altadefinizione01": "https://www.altadefinizione01.tel",
|
|
||||||
"altadefinizione01_link": "https://altadefinizione01.date",
|
|
||||||
"animeforce": "https://ww1.animeforce.org",
|
|
||||||
"animeleggendari": "https://animepertutti.com",
|
|
||||||
"animespace": "https://animespace.tv",
|
|
||||||
"animestream": "https://www.animeworld.it",
|
|
||||||
"animesubita": "http://www.animesubita.org",
|
|
||||||
"animetubeita": "http://www.animetubeita.com",
|
|
||||||
"animeworld": "https://www1.animeworld.tv",
|
|
||||||
"casacinema": "https://www.casacinema.cloud",
|
|
||||||
"casacinemaInfo": "https://casacinema.space",
|
|
||||||
"cb01anime": "https://www.cineblog01.ink",
|
|
||||||
"cinemalibero": "https://www.cinemalibero.live",
|
|
||||||
"cinetecadibologna" : "http://cinestore.cinetecadibologna.it",
|
|
||||||
"documentaristreamingda": "https://documentari-streaming-da.com",
|
|
||||||
"dreamsub": "https://www.dreamsub.stream",
|
|
||||||
"fastsubita": "https://fastsubita.com",
|
|
||||||
"filmgratis": "https://www.filmaltadefinizione.org",
|
|
||||||
"filmigratis": "https://filmigratis.org",
|
|
||||||
"filmpertutti": "https://www.filmpertutti.casa",
|
|
||||||
"filmsenzalimiticc": "https://www.filmsenzalimiti.monster",
|
|
||||||
"filmstreaming01": "https://filmstreaming01.com",
|
|
||||||
"guardarefilm": "https://www.guardarefilm.red",
|
|
||||||
"guardaserie_stream": "https://guardaserie.co",
|
|
||||||
"guardaserieclick": "https://www.guardaserie.media",
|
|
||||||
"ilgeniodellostreaming": "https://igds.red",
|
|
||||||
"italiaserie": "https://italiaserie.org",
|
|
||||||
"mondoserietv": "https://mondoserietv.com",
|
|
||||||
"netfreex": "https://www.netfreex.online",
|
|
||||||
"piratestreaming": "https://www.piratestreaming.gratis",
|
|
||||||
"polpotv": "https://polpo.tv",
|
|
||||||
"seriehd": "https://www.seriehd.watch",
|
|
||||||
"serietvonline": "https://serietvonline.monster",
|
|
||||||
"serietvsubita": "http://serietvsubita.xyz",
|
|
||||||
"serietvu": "https://www.serietvu.link",
|
|
||||||
"streamingaltadefinizione": "https://www.popcornstream.best",
|
|
||||||
"streamtime": "https://t.me/s/StreamTime",
|
|
||||||
"tantifilm": "https://www.tantifilm.eu",
|
|
||||||
"toonitalia": "https://toonitalia.org",
|
|
||||||
"vedohd": "https://vedohd.video",
|
|
||||||
"vvvvid": "https://www.vvvvid.it"
|
|
||||||
}
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "animespace",
|
"id": "animespace",
|
||||||
"name": "AnimeSpace",
|
"name": "AnimeSpace",
|
||||||
"active": true,
|
"active": false,
|
||||||
"adult": false,
|
"adult": false,
|
||||||
"language": [],
|
"language": [],
|
||||||
"thumbnail": "",
|
"thumbnail": "",
|
||||||
|
|||||||
+1
-2
@@ -269,7 +269,6 @@ def downloadpage(url, **opt):
|
|||||||
session.mount('https://', resolverdns.CipherSuiteAdapter(domain, CF))
|
session.mount('https://', resolverdns.CipherSuiteAdapter(domain, CF))
|
||||||
|
|
||||||
req_headers = default_headers.copy()
|
req_headers = default_headers.copy()
|
||||||
verify = opt.get('verify', True)
|
|
||||||
|
|
||||||
# Headers passed as parameters
|
# Headers passed as parameters
|
||||||
if opt.get('headers', None) is not None:
|
if opt.get('headers', None) is not None:
|
||||||
@@ -291,7 +290,7 @@ def downloadpage(url, **opt):
|
|||||||
files = {}
|
files = {}
|
||||||
file_name = ''
|
file_name = ''
|
||||||
|
|
||||||
session.verify = opt.get('verify', verify)
|
session.verify = opt.get('verify', True)
|
||||||
|
|
||||||
if opt.get('cookies', True):
|
if opt.get('cookies', True):
|
||||||
session.cookies = cj
|
session.cookies = cj
|
||||||
|
|||||||
+5
-6
@@ -10,19 +10,18 @@ from platformcode import logger, config
|
|||||||
|
|
||||||
def test_video_exists(page_url):
|
def test_video_exists(page_url):
|
||||||
logger.info("(page_url='%s')" % page_url)
|
logger.info("(page_url='%s')" % page_url)
|
||||||
|
global data
|
||||||
|
data = httptools.downloadpage(page_url).data
|
||||||
|
if "File Not Found" in data:
|
||||||
|
return False, config.get_localized_string(70449) % "Akvideo"
|
||||||
return True, ""
|
return True, ""
|
||||||
# data = httptools.downloadpage(page_url).data
|
|
||||||
# if "File was deleted" in data or "Page Cannot Be Found" in data:
|
|
||||||
# return False, config.get_localized_string(70449) % "Akvideo"
|
|
||||||
# return True, ""
|
|
||||||
|
|
||||||
|
|
||||||
def get_video_url(page_url, premium=False, user="", password="", video_password=""):
|
def get_video_url(page_url, premium=False, user="", password="", video_password=""):
|
||||||
logger.info(" url=" + page_url)
|
logger.info(" url=" + page_url)
|
||||||
video_urls = []
|
video_urls = []
|
||||||
|
|
||||||
data = httptools.downloadpage(page_url).data.replace('https','http')
|
global data
|
||||||
|
|
||||||
vres = scrapertools.find_multiple_matches(data, 'nowrap[^>]+>([^,]+)')
|
vres = scrapertools.find_multiple_matches(data, 'nowrap[^>]+>([^,]+)')
|
||||||
data_pack = scrapertools.find_single_match(data, "</div>\n\s*<script[^>]+>(eval.function.p,a,c,k,e,.*?)\s*</script>")
|
data_pack = scrapertools.find_single_match(data, "</div>\n\s*<script[^>]+>(eval.function.p,a,c,k,e,.*?)\s*</script>")
|
||||||
if data_pack != "":
|
if data_pack != "":
|
||||||
|
|||||||
Reference in New Issue
Block a user