Browse Source

[xhamster] Fix extraction (closes #26157) (#26254)

master
TheRealDude2 4 years ago
committed by GitHub
parent
commit
a7e348556a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/xhamster.py

+ 1
- 1
youtube_dl/extractor/xhamster.py View File

@ -132,7 +132,7 @@ class XHamsterIE(InfoExtractor):
initials = self._parse_json( initials = self._parse_json(
self._search_regex( self._search_regex(
r'window\.initials\s*=\s*({.+?})\s*;\s*\n', webpage, 'initials',
r'window\.initials\s*=\s*({.+?})\s*;', webpage, 'initials',
default='{}'), default='{}'),
video_id, fatal=False) video_id, fatal=False)
if initials: if initials:


Loading…
Cancel
Save