corretto Nome PlayTube

This commit is contained in:
Alhaziel01
2021-06-05 16:09:59 +02:00
parent fc8b8652ca
commit 96dcbae05d
2 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
},
"free": true,
"id": "playtube",
"name": "playtube",
"name": "PlayTube",
"settings": [
{
"default": false,

View File

@@ -15,7 +15,7 @@ def test_video_exists(page_url):
global data
data = httptools.downloadpage(page_url)
if data.code == 404 or "File is no longer available" in data.data:
return False, "[playtube] El archivo no existe o ha sido borrado"
return False, config.get_localized_string(70449) % 'PlayTube'
return True, ""
@@ -25,5 +25,5 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
pack = scrapertools.find_single_match(data.data, 'p,a,c,k,e,d.*?</script>')
unpacked = jsunpack.unpack(pack)
url = scrapertools.find_single_match(unpacked, 'file:"([^"]+)') + "|referer=%s" %(page_url)
video_urls.append(['m3u8 [playtube]', url] )
video_urls.append(['m3u8 [PlayTube]', url] )
return video_urls