1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-13 22:57:15 +08:00

Update openload.py

This commit is contained in:
Vijay Singh 2017-01-08 23:09:09 +05:30 committed by GitHub
parent ed7c16eb4b
commit 9637acfac1

View File

@ -64,7 +64,7 @@ class OpenloadIE(InfoExtractor):
raise ExtractorError('File not found', expected=True)
ol_id = self._search_regex(
'<span[^>]+id="[^"]*"[^>]*>([^<]+?)</span>',
'<span[^>]+id="[^"]*"[^>]*>([^<]+)</span>',
webpage, 'openload ID')
first_three_chars = int(float(ol_id[0:][:3]))