Re: youtube-dl 20170214

2017-02-16 Thread Brett Mahar
Hi ports@,

FYI, for people noticing breakage with youtube-dl - using these command line 
flags seems to keep it working through updates from the youtube company: 
`--youtube-skip-dash-manifest -f best`.

I can't recall the last time this program could not download something for me, 
but it was a fair while ago.

Cheers,
Brett.



Re: youtube dl 20170214

2017-02-15 Thread Anthony J. Bentley
Stuart Henderson writes:
> On 2017/02/14 20:04, Landry Breuil wrote:
> > Hi,
> > 
> > like every two weeks, ydl is broken, and the bi-weekly-or-so update
> > fixes it.. ok ?
> 
> ok.
> 
> I wonder how get-flash-videos manages to stay working though..

YouTube has multiple encodings of every video; see youtube-dl -F.
By default youtube-dl seems to prefer downloading individual DASH
audio/video streams and merging them together. These are the ones that
change all the time. get_flash_videos seems to default to formats
like youtube-dl -f 22, which apparently don't change.

-- 
Anthony J. Bentley



Re: youtube dl 20170214

2017-02-15 Thread Amit Kulkarni
On Wed, Feb 15, 2017 at 3:53 AM, Stuart Henderson  wrote:
> On 2017/02/14 18:54, Amit Kulkarni wrote:
>> >> like every two weeks, ydl is broken, and the bi-weekly-or-so update
>> >> fixes it.. ok ?
>> >
>> > ok.
>>
>> Its a race to force users to view their ads...
>>
>> > I wonder how get-flash-videos manages to stay working though..
>> >
>>
>> Nobody cares about Flash any more? :) YT might have also stopped caring.
>>
>
> This mail doesn't make much sense. youtube-dl and get-flash-vidoes are
> doing basically the same thing, scraping the video website so they can
> download videos. (the "flash" in get-flash-videos is as much a misnomer
> as the "youtube" in youtube-dl, they both work for multiple sites, many
> of which don't actually need Flash any more). One tends to stay working
> through youtube changes, the other doesn't.
>

sorry for the noise!



Re: youtube dl 20170214

2017-02-15 Thread Stuart Henderson
On 2017/02/14 18:54, Amit Kulkarni wrote:
> >> like every two weeks, ydl is broken, and the bi-weekly-or-so update
> >> fixes it.. ok ?
> >
> > ok.
> 
> Its a race to force users to view their ads...
> 
> > I wonder how get-flash-videos manages to stay working though..
> >
> 
> Nobody cares about Flash any more? :) YT might have also stopped caring.
> 

This mail doesn't make much sense. youtube-dl and get-flash-vidoes are
doing basically the same thing, scraping the video website so they can
download videos. (the "flash" in get-flash-videos is as much a misnomer
as the "youtube" in youtube-dl, they both work for multiple sites, many
of which don't actually need Flash any more). One tends to stay working
through youtube changes, the other doesn't.



Re: youtube dl 20170214

2017-02-14 Thread Amit Kulkarni
>> like every two weeks, ydl is broken, and the bi-weekly-or-so update
>> fixes it.. ok ?
>
> ok.

Its a race to force users to view their ads...

> I wonder how get-flash-videos manages to stay working though..
>

Nobody cares about Flash any more? :) YT might have also stopped caring.



Re: youtube dl 20170214

2017-02-14 Thread Stuart Henderson
On 2017/02/14 20:04, Landry Breuil wrote:
> Hi,
> 
> like every two weeks, ydl is broken, and the bi-weekly-or-so update
> fixes it.. ok ?

ok.

I wonder how get-flash-videos manages to stay working though..



youtube dl 20170214

2017-02-14 Thread Landry Breuil
Hi,

like every two weeks, ydl is broken, and the bi-weekly-or-so update
fixes it.. ok ?

Landry

Index: Makefile
===
RCS file: /cvs/ports/www/youtube-dl/Makefile,v
retrieving revision 1.161
diff -u -r1.161 Makefile
--- Makefile31 Jan 2017 22:01:26 -  1.161
+++ Makefile14 Feb 2017 19:02:28 -
@@ -2,7 +2,7 @@
 
 COMMENT =  CLI program to download videos from YouTube and other sites
 
-VERSION =  2017.01.31
+VERSION =  2017.02.14
 MODPY_EGG_VERSION =${VERSION:S/.0/./g}
 
 DISTNAME = youtube-dl-${VERSION}
Index: distinfo
===
RCS file: /cvs/ports/www/youtube-dl/distinfo,v
retrieving revision 1.149
diff -u -r1.149 distinfo
--- distinfo31 Jan 2017 22:01:26 -  1.149
+++ distinfo14 Feb 2017 19:02:28 -
@@ -1,2 +1,2 @@
-SHA256 (youtube-dl-2017.01.31.tar.gz) = 
3bFEXrGEJUE2USZ/T74uoGGY97JTgS/Wm9kKaASujFc=
-SIZE (youtube-dl-2017.01.31.tar.gz) = 2546442
+SHA256 (youtube-dl-2017.02.14.tar.gz) = 
f94phEwZgEFvkdYVKlgGEbVe6vgV7NpB6Txj7WWPmuE=
+SIZE (youtube-dl-2017.02.14.tar.gz) = 2581332
Index: pkg/PLIST
===
RCS file: /cvs/ports/www/youtube-dl/pkg/PLIST,v
retrieving revision 1.105
diff -u -r1.105 PLIST
--- pkg/PLIST   31 Jan 2017 22:01:26 -  1.105
+++ pkg/PLIST   14 Feb 2017 19:02:29 -
@@ -257,6 +257,8 @@
 
lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/commonprotocols.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/condenast.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/condenast.pyc
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/corus.py
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/corus.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/coub.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/coub.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/cracked.py
@@ -389,6 +391,8 @@
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/fc2.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/fczenit.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/fczenit.pyc
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/filmon.py
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/filmon.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/firstpost.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/firstpost.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/firsttv.py
@@ -449,6 +453,8 @@
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/gamespot.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/gamestar.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/gamestar.pyc
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/gaskrank.py
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/gaskrank.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/gazeta.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/gazeta.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/gdcvault.py
@@ -1011,6 +1017,8 @@
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/screencast.pyc
 
lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/screencastomatic.py
 
lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/screencastomatic.pyc
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/scrippsnetworks.py
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/scrippsnetworks.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/seeker.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/seeker.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/senateisvp.py
@@ -1071,6 +1079,8 @@
 
lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/sportdeutschland.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/sportschau.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/sportschau.pyc
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/sprout.py
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/sprout.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/srgssr.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/srgssr.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/srmediathek.py
@@ -1221,6 +1231,8 @@
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/tvp.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/tvplay.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/tvplay.pyc
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/tvplayer.py
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/tvplayer.pyc