Skip to content

Commit

Permalink
[xhamster] Fix extraction (closes #26157) (#26254)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealDude2 authored Aug 12, 2020
1 parent 6cb30ea commit a7e3485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/xhamster.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def get_height(s):

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:
Expand Down

0 comments on commit a7e3485

Please sign in to comment.