This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
Fix utils.strip_jsonp
totalwebcasting
Filippo Valsorda
11 years ago
parent
76233cda34
commit
816930c485
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
youtube_dl/utils.py
+ 1
- 1
youtube_dl/utils.py
View File
@ -1428,7 +1428,7 @@ US_RATINGS = {
def
strip_jsonp
(
code
)
:
return
re
.
sub
(
r
'
(?s)^[a-zA-Z0-9_]+
\
s*
\
(
\
s*(.*)
\
)
\
s*?
\
s*$
'
,
r
'
\
1
'
,
code
)
return
re
.
sub
(
r
'
(?s)^[a-zA-Z0-9_]+
\
s*
\
(
\
s*(.*)
\
)
;?
\
s*?
\
s*$
'
,
r
'
\
1
'
,
code
)
def
qualities
(
quality_ids
)
:
Write
Preview
Loading…
Cancel
Save