mega: fix
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"url": "https://\\1"
|
||||
},
|
||||
{
|
||||
"pattern": "(mega.nz/\\#\\![A-Za-z0-9\\-\\_]+\\![A-Za-z0-9\\-\\_]+)",
|
||||
"pattern": "(mega.nz/(?:embed|)\\#\\![A-Za-z0-9\\-\\_]+\\![A-Za-z0-9\\-\\_]+)",
|
||||
"url": "https://\\1"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -15,6 +15,8 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
|
||||
video_urls = []
|
||||
from megaserver import Client
|
||||
|
||||
page_url = page_url.replace('/embed#!', '/#!')
|
||||
|
||||
c = Client(url=page_url, is_playing_fnc=platformtools.is_playing)
|
||||
|
||||
files = c.get_files()
|
||||
|
||||
Reference in New Issue
Block a user