X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/d1a5eac72c0b1116e8efbbf50766d8d00678f5c8..6d835d4d6903cf5e18ad01844736929e06d16004:/youtube_dl/extractor/mpora.py?ds=sidebyside diff --git a/youtube_dl/extractor/mpora.py b/youtube_dl/extractor/mpora.py index 6a8e2cc..387935d 100644 --- a/youtube_dl/extractor/mpora.py +++ b/youtube_dl/extractor/mpora.py @@ -4,9 +4,7 @@ import json import re from .common import InfoExtractor -from ..utils import ( - int_or_none, -) +from ..utils import int_or_none class MporaIE(InfoExtractor): @@ -20,7 +18,7 @@ class MporaIE(InfoExtractor): 'info_dict': { 'title': 'Katy Curd - Winter in the Forest', 'duration': 416, - 'uploader': 'petenewman', + 'uploader': 'Peter Newman Media', }, } @@ -30,7 +28,7 @@ class MporaIE(InfoExtractor): webpage = self._download_webpage(url, video_id) data_json = self._search_regex( - r"new FM\.Player\('[^']+',\s*(\{.*?)\);\n", webpage, 'json') + r"new FM\.Player\('[^']+',\s*(\{.*?)\).player;", webpage, 'json') data = json.loads(data_json)