A feature-rich command-line audio/video downloader
Use match_id method instead of splitted URL
robin67ce4f8820f9
diff --git a/youtube_dl/extractor/tweakers.py b/youtube_dl/extractor/tweakers.pyindex a4e7498501..e332d46948 100644--- a/youtube_dl/extractor/tweakers.py+++ b/youtube_dl/extractor/tweakers.py@@ -21,7 +21,7 @@ class TweakersIE(InfoExtractor):def _real_extract(self, url):splitted_url = re.split('.html|/', url)del splitted_url[-1] # To remove extra '/' at the end- video_id = splitted_url[4]+ video_id = self._match_id(url)title = splitted_url[5].title() # Retrieve title for URL and capitalizesplitted_url[3] = splitted_url[3] + '/player' # Add /player to get the player pageplayer_url = '/'.join(splitted_url) + '.html'