Athlon1600 / youtube-downloader

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

Curl options, set temp browser dir and others #163

Open cyberpunkbln opened 2 years ago

cyberpunkbln commented 2 years ago

Hello,

great script, but i have a few questions.

  1. Is it possible to change the temp-dir from browserclient trough YoutubeDownloader? i mean the setStorageDir method I have a strict open_basedir setting:).
  2. When i want only the youtube-links, is it possible to deactivate the curl-libs dependencies? I want exactly differ from 3 methods of use:
  3. catch only the infos (with all what is in, url text and so on)
  4. i want to download the video (but with with more control about filename, filedir)
  5. i want the streaming features so there actually is in your lib.

thx

PS: When i delete the windows-tmp dir from my open_basedir settings then i became the same variables back in YoutubeDownloader (but many errors from my security part:)). Why functioned YoutubeDownloader when the curl-lib cannot save tmp-files? Need i curl lib for only vars?