diff options
author | nixxo <c.nixxo@gmail.com> | 2020-10-26 13:36:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-26 13:36:29 +0100 |
commit | 5fec75c81cf1a83fac9b35af08dc6750dba0e07b (patch) | |
tree | 77cefdaf7973956c032dd0f9489920eb0e3a5945 | |
parent | 6410992da9cb472391f03f7a5a8c69ebeb52a1c8 (diff) | |
download | hypervideo-pre-5fec75c81cf1a83fac9b35af08dc6750dba0e07b.tar.lz hypervideo-pre-5fec75c81cf1a83fac9b35af08dc6750dba0e07b.tar.xz hypervideo-pre-5fec75c81cf1a83fac9b35af08dc6750dba0e07b.zip |
[mtv] Fix a missing match_id
Fix a problem introduced in 320724f964f09a5e1f08edd246464db4f0d297f9 where is extracted the ID from the url with self._match_id but the problem is that ID is not always present in the url passed so the title should be extracted as proposed by the fix (and like is done in _real_extract (see line 337))
-rw-r--r-- | youtube_dlc/extractor/mtv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dlc/extractor/mtv.py b/youtube_dlc/extractor/mtv.py index 6b3658397..eaf43429f 100644 --- a/youtube_dlc/extractor/mtv.py +++ b/youtube_dlc/extractor/mtv.py @@ -300,7 +300,7 @@ class MTVServicesInfoExtractor(InfoExtractor): except RegexNotFoundError: mgid = None - title = self._match_id(url) + title = url_basename(url) try: window_data = self._parse_json(self._search_regex( |