Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98627 > unrolled thread
| Started by | Tim Johnson <tim@akwebsoft.com> |
|---|---|
| First post | 2015-11-10 15:31 -0900 |
| Last post | 2015-11-10 15:31 -0900 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Using subprocess to capture a progress line Tim Johnson <tim@akwebsoft.com> - 2015-11-10 15:31 -0900
| From | Tim Johnson <tim@akwebsoft.com> |
|---|---|
| Date | 2015-11-10 15:31 -0900 |
| Subject | Re: Using subprocess to capture a progress line |
| Message-ID | <mailman.233.1447201883.16136.python-list@python.org> |
* Tim Johnson <tim@akwebsoft.com> [151110 14:55]:
> * Chris Angelico <rosuav@gmail.com> [151110 14:35]:
> > On Wed, Nov 11, 2015 at 9:47 AM, Tim Johnson <tim@akwebsoft.com> wrote:
> > > I've written a command-line "wrapper" for youtube-dl, executing
> > is implemented in Python, you might find it easier to "pip install
> > youtube_dl" and work with the methods directly:
<<...> >
> > >>> import youtube_dl
> > >>> youtube_dl.YoutubeDL().download(["m39ydsOPSww"])
>
> Frankly, I'd prefer - in the long run - to use youtube_dl (the
> module).
>
> But, when I do as you have suggested (and have tried previously) I
> get the following:
>
> youtube_dl.utils.DownloadError: ERROR: no suitable InfoExtractor
>
It looks as if the developers are constantly upgrading. I just
upgraded youtube_dl
sudo pip install --upgrade youtube_dl
And ran the code which is provided under the topic
"EMBEDDING YOUTUBE-DL"
at
https://github.com/rg3/youtube-dl/blob/master/README.md
At I got a successful download, AFAICS
--
Tim
http://www.akwebsoft.com, http://www.tj49.com
Back to top | Article view | comp.lang.python
csiph-web