mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-13 18:27:18 +08:00
Removed slashes and question marks
This commit is contained in:
parent
91fcb3c90e
commit
ed7c16eb4b
@ -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]))
|
||||
|
Loading…
x
Reference in New Issue
Block a user