-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Make --extract work when there are multiple search results #43
Comments
A crappy solution to print related videos' ids of a video. Before anyone wants to extend this, consider learning Perl and contribute to the project. Which, I did consider myself but I can't be unfathful to python. And bash is already here as this irritable thing that can't be scraped off. Install the expect package if you don't have it already.
Use it:
|
Foreword: Trizen, your work is awesome.
System: Ubuntu 21
Version: CLI Pipe Viewer 0.1.3
I'm trying to use pipe-viewer to only extract information. Objective is to have search results, or the video links/IDs most importantly, saved to a file.
This,
pipe-viewer --no-interactive --extract '*TITLE* (*ID*)' --extract-file results.txt 'https://www.youtube.com/watch?v=zfFo8BtPTnc'
produces a file with contents:
The option "--dump json" is ignored.
It would be great if something like this,
pipe-viewer --no-interactive --extract '*TITLE* (*ID*)' --extract-file results.json --dump json --related 'https://www.youtube.com/watch?v=zfFo8BtPTnc'
would output a file with multiple results, instead of an empty file. Json or plain text.
The text was updated successfully, but these errors were encountered: