mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[yahoo:gyao] add X-User-Agent header to dam proxy requests(closes #21071)
This commit is contained in:
parent
8ae32e1882
commit
b7df8f90a7
1 changed files with 2 additions and 0 deletions
|
@ -511,6 +511,8 @@ def _real_extract(self, url):
|
|||
'https://gyao.yahoo.co.jp/dam/v1/videos/' + video_id,
|
||||
video_id, query={
|
||||
'fields': 'longDescription,title,videoId',
|
||||
}, headers={
|
||||
'X-User-Agent': 'Unknown Pc GYAO!/2.0.0 Web',
|
||||
})
|
||||
return {
|
||||
'_type': 'url_transparent',
|
||||
|
|
Loading…
Reference in a new issue