[cleanup] Misc
This commit is contained in:
parent
fa44802809
commit
337734d4a8
10 changed files with 13 additions and 13 deletions
|
|
@ -22,7 +22,7 @@ class VShareIE(InfoExtractor):
|
|||
packed = self._search_regex(
|
||||
r'(eval\(function.+)', webpage, 'packed code')
|
||||
unpacked = decode_packed_codes(packed)
|
||||
digits = self._search_regex(r'\[((?:\d+,?)+)\]', unpacked, 'digits')
|
||||
digits = self._search_regex(r'\[([\d,]+)\]', unpacked, 'digits')
|
||||
digits = [int(digit) for digit in digits.split(',')]
|
||||
key_digit = self._search_regex(
|
||||
r'fromCharCode\(.+?(\d+)\)}', unpacked, 'key digit')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue