X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/0cf0312991a54458a07e903da2e47e9f3c8855ae..f19349c26118065acbe21509383c63465df794fe:/youtube_dl/extractor/xminus.py diff --git a/youtube_dl/extractor/xminus.py b/youtube_dl/extractor/xminus.py index f7e2e8a..7c9d8af 100644 --- a/youtube_dl/extractor/xminus.py +++ b/youtube_dl/extractor/xminus.py @@ -1,6 +1,8 @@ # coding: utf-8 from __future__ import unicode_literals +import re + from .common import InfoExtractor from ..compat import ( compat_chr, @@ -25,6 +27,7 @@ class XMinusIE(InfoExtractor): 'tbr': 320, 'filesize_approx': 5900000, 'view_count': int, + 'description': 'md5:03238c5b663810bc79cf42ef3c03e371', } } @@ -40,7 +43,7 @@ class XMinusIE(InfoExtractor): r'minus_track\.dur_sec=\'([0-9]*?)\'', webpage, 'duration', fatal=False)) filesize_approx = parse_filesize(self._html_search_regex( - r'
\s*([0-9.]+\s*[a-zA-Z][bB])', + r'
]*>\s*↓\s*([0-9.]+\s*[a-zA-Z][bB])', webpage, 'approximate filesize', fatal=False)) tbr = int_or_none(self._html_search_regex( r'
\s*([0-9]+)\s*kbps', @@ -48,9 +51,14 @@ class XMinusIE(InfoExtractor): view_count = int_or_none(self._html_search_regex( r'
(.*?)