Eliminados y actualizados servers

cloudsany, nowvideo, oboom, playwatch, playwire, rutube, streame, veoh, vidabc, videowood, vidgg, vidgot, vidzella, watchers, wholecloud: eliminados
gounlimited, thevideome, watchvideo fix
This commit is contained in:
Intel1
2018-09-01 10:15:42 -05:00
parent 9892784e1d
commit c5dffe09da
33 changed files with 54 additions and 1223 deletions
+6 -1
View File
@@ -18,8 +18,13 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
logger.info("url=" + page_url)
video_urls = []
data = httptools.downloadpage(page_url).data
media_urls = scrapertools.find_multiple_matches(data, 'file:"([^"]+)"')
packed = scrapertools.find_single_match(data, "text/javascript'>(.*?)\s*</script>")
unpacked = jsunpack.unpack(packed)
media_urls = scrapertools.find_multiple_matches(unpacked, 'file:"([^"]+)"')
for media_url in media_urls:
media_url += "|Referer=%s" %page_url
if ".png" in media_url:
continue
ext = "mp4"
if "m3u8" in media_url:
ext = "m3u8"