mps-youtube / yewtube

yewtube, forked from mps-youtube , is a Terminal based YouTube player and downloader. No Youtube API key required.
GNU General Public License v3.0
7.98k stars 643 forks source link

No search results written to file #1174

Closed pgeschwill closed 2 years ago

pgeschwill commented 2 years ago

Hi,

I have been trying to pipe the search output to a plain text file and have only been moderately successful with this.

Issue / Suggestion

If I call mpsyt /test > mpsytoutput.txt & it will write the first twenty entries to the file but will spawn a process in the background that keeps running until manually killed.

If I call mpsyt /test, q > mpsytoutput.txt & it will only write the title page to the text file and not return any results.

There probably is some linux command line magic that I am missing here but I was unable to find the solution.

Your Environment

I am working with mpsyt version 0.2.8 on a RaspberryPi with Rapsbian buster. Python is at version 3.7.3.

Any hints are appreciated!

pgeschwill commented 2 years ago

To my embarrassment, the file actually does contain the output but since the file is so long it did not fit on my terminal with cat :D