Athlon1600 / youtube-downloader

:tv: PHP based alternative to youtube-dl and yt-dlp. Active and frequently updated! :star:
https://unblockvideos.com/
MIT License
800 stars 316 forks source link

Add option to modify youtube client headers data. #175

Open altin7m opened 1 year ago

altin7m commented 1 year ago

Default values are clientName=ANDROID_EMBEDDED_PLAYER and clientVersion=16.20. You can edit values using: $youtube = new YouTubeDownloader();
$youtube->getYoutubeClientHeaders()->setClientName('ANDROID'); $youtube->getYoutubeClientHeaders()->setClientVersion('16.20');