antiboredom/videogrep

The YouTube Function

flipperbw opened this issue · 2 comments

Is this supposed to be functional, or is it new? Passing a youtube URL just prompts you for an input file.

That script will download all the videos on the first page of youtube search results. It expect as input something like: 'https://www.youtube.com/user/whitehouse/videos'

I think that flipperbw was referring to the videogrep script which offers --youtube as an argument. Inside videogrep however, there is nowhere for that argument to go so the script just returns "no subtitle files were found". This is because the script fails to call video_downloader.py.

Turning to, and running video_downloader.py works to a point. Sam, you say that this returns the first page of youtube results but I'm not getting anything. at:

12    soupy_links = soup.select("a.yt-uix-sessionlink")

I'm getting nonetype error because there is nothing there. My suspicion is that youtube have changed their search page results since you wrote the script (as is their wont). Has anyone been playing with this lately? Any clues?

Thanks.