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
Merge pull request
#5115
from chaos33/youporn-json
fix youporn extractor's json search regex
totalwebcasting
Sergey M.
10 years ago
parent
7fde87c77d
e0d0572b73
commit
376817c6d4
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/extractor/youporn.py
+ 1
- 1
youtube_dl/extractor/youporn.py
View File
@ -47,7 +47,7 @@ class YouPornIE(InfoExtractor):
# Get JSON parameters
json_params
=
self
.
_search_regex
(
r
'
var
currentVideo = new Video
\
((.*)
\
)[,;]
'
,
r
'
var
videoJason = (.*
)[,;]
'
,
webpage
,
'
JSON parameters
'
)
try
:
params
=
json
.
loads
(
json_params
)
Write
Preview
Loading…
Cancel
Save