Merge remote-tracking branch 'origin/master' into master
This commit is contained in:
+10
-10
@@ -14,35 +14,35 @@
|
|||||||
"animeworld": "https://www.animeworld.tv",
|
"animeworld": "https://www.animeworld.tv",
|
||||||
"casacinema": "https://www.casacinema.page",
|
"casacinema": "https://www.casacinema.page",
|
||||||
"cb01anime": "https://www.cineblog01.red",
|
"cb01anime": "https://www.cineblog01.red",
|
||||||
"cinemalibero": "https://www.cinemalibero.run",
|
"cinemalibero": "https://www.cinemalibero.space",
|
||||||
"cinetecadibologna": "http://cinestore.cinetecadibologna.it",
|
"cinetecadibologna": "http://cinestore.cinetecadibologna.it",
|
||||||
"dreamsub": "https://dreamsub.stream",
|
"dreamsub": "https://dreamsub.stream",
|
||||||
"dsda": "https://www.dsda.press",
|
"dsda": "https://www.dsda.press",
|
||||||
"fastsubita": "https://fastsubita.online",
|
"fastsubita": "https://fastsubita.online",
|
||||||
"filmgratis": "https://www.filmaltadefinizione.tv",
|
"filmgratis": "https://www.filmaltadefinizione.tv",
|
||||||
"filmigratis": "https://filmigratis.org",
|
"filmigratis": "https://filmigratis.org",
|
||||||
"filmpertutti": "https://www.filmpertutti.icu",
|
"filmpertutti": "https://www.filmpertutti.fun",
|
||||||
"filmsenzalimiticc": "https://www.filmsenzalimiti01.casa",
|
"filmsenzalimiticc": "https://www.filmsenzalimiti01.casa",
|
||||||
"filmstreaming01": "https://filmstreaming01.com",
|
"filmstreaming01": "https://filmstreaming01.com",
|
||||||
"guardaserie_stream": "https://guardaserie.store",
|
"guardaserie_stream": "https://guardaserie.host",
|
||||||
"guardaseriecam": "https://guardaserie.cam",
|
"guardaseriecam": "https://guardaserie.cam",
|
||||||
"guardaserieclick": "https://www.guardaserie.guru",
|
"guardaserieclick": "https://www.guardaserie.blue",
|
||||||
"guardaserieicu": "https://guardaserie.us",
|
"guardaserieicu": "https://guardaserie.us",
|
||||||
"hd4me": "https://hd4me.net",
|
"hd4me": "https://hd4me.net",
|
||||||
"ilgeniodellostreaming": "https://ilgeniodellostreaming.lc",
|
"ilgeniodellostreaming": "https://ilgeniodellostreaming.fi",
|
||||||
"ilgeniodellostreaming_cam": "https://ilgeniodellostreaming.cam",
|
"ilgeniodellostreaming_cam": "https://ilgeniodellostreaming.tel",
|
||||||
"italiaserie": "https://italiaserie.org",
|
"italiaserie": "https://italiaserie.org",
|
||||||
"mondoserietv": "https://mondoserietv.com",
|
"mondoserietv": "https://mondoserietv.fun",
|
||||||
"piratestreaming": "https://www.piratestreaming.cloud",
|
"piratestreaming": "https://www.piratestreaming.buzz",
|
||||||
"polpotv": "https://polpotv.life",
|
"polpotv": "https://polpotv.life",
|
||||||
"raiplay": "https://www.raiplay.it",
|
"raiplay": "https://www.raiplay.it",
|
||||||
"seriehd": "https://seriehd.group",
|
"seriehd": "https://seriehd.group",
|
||||||
"serietvonline": "https://serietvonline.pw",
|
"serietvonline": "https://serietvonline.biz",
|
||||||
"serietvsubita": "http://serietvsubita.xyz",
|
"serietvsubita": "http://serietvsubita.xyz",
|
||||||
"serietvu": "https://www.serietvu.link",
|
"serietvu": "https://www.serietvu.link",
|
||||||
"streamingcommunity": "https://streamingcommunity.to",
|
"streamingcommunity": "https://streamingcommunity.to",
|
||||||
"streamtime": "https://t.me/s/StreamTime",
|
"streamtime": "https://t.me/s/StreamTime",
|
||||||
"tantifilm": "https://www.tantifilm.fit",
|
"tantifilm": "https://www.tantifilm.tel",
|
||||||
"toonitalia": "https://toonitalia.org",
|
"toonitalia": "https://toonitalia.org",
|
||||||
"vvvvid": "https://www.vvvvid.it"
|
"vvvvid": "https://www.vvvvid.it"
|
||||||
}
|
}
|
||||||
@@ -79,6 +79,7 @@ def peliculas(item):
|
|||||||
anime = True
|
anime = True
|
||||||
patronNext = r'href="([^"]+)" title="[^"]+" class="lcp_nextlink"'
|
patronNext = r'href="([^"]+)" title="[^"]+" class="lcp_nextlink"'
|
||||||
action = 'findvideos'
|
action = 'findvideos'
|
||||||
|
# debug=True
|
||||||
if item.args == 'last':
|
if item.args == 'last':
|
||||||
patronBlock = r'<table>(?P<block>.*?)</table>'
|
patronBlock = r'<table>(?P<block>.*?)</table>'
|
||||||
patron = r'<tr><td><a href="(?P<url>[^"]+)">\s*[^>]+>(?P<title>.*?)(?:\s(?P<year>\d{4}))? (?:Streaming|</b>)'
|
patron = r'<tr><td><a href="(?P<url>[^"]+)">\s*[^>]+>(?P<title>.*?)(?:\s(?P<year>\d{4}))? (?:Streaming|</b>)'
|
||||||
@@ -98,7 +99,7 @@ def peliculas(item):
|
|||||||
return item
|
return item
|
||||||
else:
|
else:
|
||||||
patronBlock = r'<div class="entry-content pagess">(?P<block>.*?)</ul>'
|
patronBlock = r'<div class="entry-content pagess">(?P<block>.*?)</ul>'
|
||||||
patron = r'<li><a href="(?P<url>[^"]+)" title="(?P<title>.*?)(?:\s(?P<year>\d{4}))?"[^>]*>'
|
patron = r'<li\s*><a href="(?P<url>[^"]+)" title="(?P<title>.*?)(?:\s(?P<year>\d{4}))?"[^>]*>'
|
||||||
if item.contentType == 'tvshow':
|
if item.contentType == 'tvshow':
|
||||||
action = 'episodios'
|
action = 'episodios'
|
||||||
anime = True
|
anime = True
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ session=requests.Session()
|
|||||||
response = session.get(host)
|
response = session.get(host)
|
||||||
csrf_token = support.match(response.text, patron= 'name="csrf-token" content="([^"]+)"').match
|
csrf_token = support.match(response.text, patron= 'name="csrf-token" content="([^"]+)"').match
|
||||||
headers = {'content-type': 'application/json;charset=UTF-8',
|
headers = {'content-type': 'application/json;charset=UTF-8',
|
||||||
|
'Referer': host,
|
||||||
'x-csrf-token': csrf_token,
|
'x-csrf-token': csrf_token,
|
||||||
'Cookie' : '; '.join([x.name + '=' + x.value for x in response.cookies])}
|
'Cookie' : '; '.join([x.name + '=' + x.value for x in response.cookies])}
|
||||||
|
|
||||||
@@ -99,9 +100,10 @@ def peliculas(item):
|
|||||||
records = json.loads(support.match(data, patron=r'slider-title titles-json="(.*?)" slider-name="').matches[item.args])
|
records = json.loads(support.match(data, patron=r'slider-title titles-json="(.*?)" slider-name="').matches[item.args])
|
||||||
elif not item.search:
|
elif not item.search:
|
||||||
payload = json.dumps({'type': videoType, 'offset':offset, 'genre':item.args})
|
payload = json.dumps({'type': videoType, 'offset':offset, 'genre':item.args})
|
||||||
records = json.loads(requests.post(host + '/infinite/browse', headers=headers, data=payload).json()['records'])
|
records = requests.post(host + '/api/browse', headers=headers, data=payload).json()['records']
|
||||||
else:
|
else:
|
||||||
records = requests.get(host + '/search?q=' + item.search + '&live=true', headers=headers).json()['records']
|
payload = json.dumps({'q': item.search})
|
||||||
|
records = requests.post(host + '/api/search', headers=headers, data=payload).json()['records']
|
||||||
|
|
||||||
if records and type(records[0]) == list:
|
if records and type(records[0]) == list:
|
||||||
js = []
|
js = []
|
||||||
|
|||||||
+6
-1
@@ -19,7 +19,12 @@ def test_video_exists(page_url):
|
|||||||
|
|
||||||
def get_video_url(page_url, premium=False, user="", password="", video_password=""):
|
def get_video_url(page_url, premium=False, user="", password="", video_password=""):
|
||||||
video_urls = []
|
video_urls = []
|
||||||
media_url = scrapertools.find_single_match(data, r'file:"([^"]+)"')
|
global data
|
||||||
|
new_data = scrapertools.find_single_match(data, r"<script type='text/javascript'>(eval.function.p,a,c,k,e,.*?)\s*</script>")
|
||||||
|
if new_data != "":
|
||||||
|
from lib import jsunpack
|
||||||
|
data = jsunpack.unpack(new_data)
|
||||||
|
media_url = scrapertools.find_single_match(data, r'file:"([^"]+)"') + '|Referer=' + page_url
|
||||||
video_urls.append(["%s [UPstream]" % media_url.split('.')[-1], media_url])
|
video_urls.append(["%s [UPstream]" % media_url.split('.')[-1], media_url])
|
||||||
|
|
||||||
return video_urls
|
return video_urls
|
||||||
|
|||||||
Reference in New Issue
Block a user