+import urllib.parse
+
from .common import InfoExtractor
-from ..compat import (
- compat_parse_qs,
-)
from ..utils import (
parse_duration,
)
'thumbnail': r're:^http://.*\.jpg$',
'duration': 80,
'age_limit': 18,
- }
+ },
}
def _real_extract(self, url):
r'<span class="duration">\s*-?\s*(.*?)</span>',
webpage, 'duration', fatal=False))
- flashvars = compat_parse_qs(self._html_search_regex(
+ flashvars = urllib.parse.parse_qs(self._html_search_regex(
r'<embed.+?id="flash-player-embed".+?flashvars="([^"]+)"',
webpage, 'flashvars'))
thumbnail = flashvars.get('url_bigthumb', [None])[0]