mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-06 17:03:46 +00:00
use the full referer url instead of the base url only
Authored by: bashonly
This commit is contained in:
parent
e4ec8d95be
commit
7dd35cf1fa
@ -341,7 +341,7 @@ class PatreonIE(PatreonBaseIE):
|
||||
}))
|
||||
|
||||
# all-lowercase 'referer' so we can smuggle it to Generic, SproutVideo, Vimeo
|
||||
headers = {'referer': 'https://patreon.com/'}
|
||||
headers = {'referer': url}
|
||||
|
||||
# handle Vimeo embeds
|
||||
if traverse_obj(attributes, ('embed', 'provider')) == 'Vimeo':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user