mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[dumpert] Add cpc cookie (Closes #5672)
This commit is contained in:
parent
e41f450f28
commit
1f92865494
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ def _real_extract(self, url):
|
|||
video_id = self._match_id(url)
|
||||
|
||||
req = compat_urllib_request.Request(url)
|
||||
req.add_header('Cookie', 'nsfw=1')
|
||||
req.add_header('Cookie', 'nsfw=1; cpc=10')
|
||||
webpage = self._download_webpage(req, video_id)
|
||||
|
||||
files_base64 = self._search_regex(
|
||||
|
|
Loading…
Reference in a new issue