Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backups
youtube-dl
Commits
a7e34855
Unverified
Commit
a7e34855
authored
Aug 12, 2020
by
TheRealDude2
Committed by
GitHub
Aug 12, 2020
Browse files
[xhamster] Fix extraction (closes #26157) (#26254)
parent
6cb30ea5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
youtube_dl/extractor/xhamster.py
youtube_dl/extractor/xhamster.py
+1
-1
No files found.
youtube_dl/extractor/xhamster.py
View file @
a7e34855
...
...
@@ -132,7 +132,7 @@ class XHamsterIE(InfoExtractor):
initials
=
self
.
_parse_json
(
self
.
_search_regex
(
r
'window\.initials\s*=\s*({.+?})\s*;
\s*\n
'
,
webpage
,
'initials'
,
r
'window\.initials\s*=\s*({.+?})\s*;'
,
webpage
,
'initials'
,
default
=
'{}'
),
video_id
,
fatal
=
False
)
if
initials
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment