You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've looked through the README and FAQ for similar questions
above links are not working:
Zugriff gesperrt
Aufgrund eines Urteils des Landgerichts Hamburg ist der Zugriff auf diese Website gesperrt.
I've searched the bugtracker for similar questions including closed ones
Question
So for debugging purpose I'd like to pass some dynamic variables to the extractor (I have made some modifications to some of yours but also added new ones in my private repository).
I want to do something like this: youtube-dl --pass2extractor tmpstore=html,json --pass2extractor pathprefix=$HOME/.tmp/%SOME_UNIQ_AND_DYNAMIC% -f .. -o .. "URL"
tmpstore=html,json --> tells the extractor to save the webpages html (get variables for the json-link here), and the downloaded json (contains the wanted video-playlist-data)
pathprefix tells the location for the html and json (I want store them in a different location than the video)
--pass2extractor %PASS% -> the content of %PASS% should get passed into extractor (it should somehow be available/accessable)
Is it possible to do this and is something like that already implemented?
The text was updated successfully, but these errors were encountered:
There's already the --write-pages option for saving fetched web pages.
yt-dlp has implemented options similar to what you describe, so it may be useful to check those implementations:
--extractor-args ... for passing extractor-specific parameters: this will soon have to be implemented here, to control client selection in the YT extractor;
--paths TYPE:LOCATION to specify a directory to be used for the TYPE files.
There's already the --write-pages option for saving fetched web pages.
I know this - but it doesnt work for me - i need custom path and filename >> more control over which html or json should be saved and where
yt-dlp has implemented options similar to what you describe, so it may be useful to check those implementations:
* --extractor-args ... for passing extractor-specific parameters: this will soon have to be implemented here, to control client selection in the YT extractor
Oh cool - will look at that later
Thanks for the reference.
@dirkf
out of curiosity - have you checked your PR 30774 recently ?
Checklist
above links are not working:
Question
So for debugging purpose I'd like to pass some dynamic variables to the extractor (I have made some modifications to some of yours but also added new ones in my private repository).
I want to do something like this:
youtube-dl --pass2extractor tmpstore=html,json --pass2extractor pathprefix=$HOME/.tmp/%SOME_UNIQ_AND_DYNAMIC% -f .. -o .. "URL"
--pass2extractor %PASS% -> the content of %PASS% should get passed into extractor (it should somehow be available/accessable)
Is it possible to do this and is something like that already implemented?
The text was updated successfully, but these errors were encountered: