Bug#789647: fails to talk to quvi to download from youtube on jessie

2015-07-19 Thread Stefano Zacchiroli
On Mon, Jun 22, 2015 at 08:55:35PM -0400, Antoine Beaupré wrote:
 Package: git-annex
 Version: 5.20141125
 Severity: normal
 
 It seems this version of git-annex can't talk to quvi properly, even
 though quvi can talk to youtube:

Just confirming this bug.

(FWIW I'm on Debian Stretch, but the git-annex version is the same.)

Cheers.
-- 
Stefano Zacchiroli  . . . . . . .  z...@upsilon.cc . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Former Debian Project Leader . . . . . @zacchiro . . . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#789647: fails to talk to quvi to download from youtube on jessie

2015-06-22 Thread Antoine Beaupré
Package: git-annex
Version: 5.20141125
Severity: normal

It seems this version of git-annex can't talk to quvi properly, even
though quvi can talk to youtube:

$ git annex addurl https://www.youtube.com/watch?v=skGyFowTzew
git-annex: quvi does not know how to download url 
https://www.youtube.com/watch?v=skGyFowTzew
$ git annex addurl http://www.youtube.com/watch?v=skGyFowTzew
git-annex: quvi does not know how to download url 
http://www.youtube.com/watch?v=skGyFowTzew
$ git annex --debug addurl http://www.youtube.com/watch?v=skGyFowTzew
[2015-06-22 20:14:45 EDT] read: quvi [--version]
[2015-06-22 20:14:45 EDT] call: quvi 
[--verbosity,mute,--support,http://www.youtube.com/watch?v=skGyFowTzew;]
[2015-06-22 20:14:45 EDT] read: quvi 
[--verbosity,quiet,-c,http,http://www.youtube.com/watch?v=skGyFowTzew;]
git-annex: quvi does not know how to download url 
http://www.youtube.com/watch?v=skGyFowTzew
$ quvi --support http://www.youtube.com/watch?v=skGyFowTzew
default|best : http://www.youtube.com/watch?v=skGyFowTzew
$ quvi -c http  http://www.youtube.com/watch?v=skGyFowTzew
:: Check for URL redirection ...done.
:: Fetch config ...done.
{
  host: youtube,
  page_title: PIXO,
  page_url: https://www.youtube.com/watch?v=skGyFowTzew;,
  id: skGyFowTzew,
  format_requested: default,
  thumbnail_url: https://i.ytimg.com/vi/skGyFowTzew/default.jpg;,
  duration: 3712000,
  link: [
{
  id: 1,
  url: 
https://r9---sn-tt17rn7k.googlevideo.com/videoplayback?requiressl=yesmt=1435018476ratebypass=yesexpire=1435040106ipbits=0sparams=dur%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpirefexp=9407141%2C9407662%2C9407943%2C9408142%2C9408420%2C9408710%2C9409207%2C9412777%2C9413019%2C9413142%2C9413503%2C9414764%2C9415304%2C9415397%2C9416126%2C9416456%2C9416652%2C948207%2C952640key=yt5ip=72.0.72.144lmt=1429799648978639ms=ausource=youtubemv=mdur=3711.872id=o-ADsMBoYa_B3-rjRSCabQ5wB2dMiDJqIJw-IcamIA6raDmm=31mn=sn-tt17rn7kitag=22sver=3pl=20pcm2=nomime=video%2Fmp4signature=453EE6559AFE5BF1893579CEB0FA98CEA229706B.1BE85F4B830E481E183B61DCE02FDC78CE80482Dupn=L0m31xsWxdk;
}
  ]
}
$ git annex version
git-annex version: 5.20141125
build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV Inotify 
DBus DesktopNotify XMPP DNS Feeds Quvi TDFA CryptoHash
key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E 
SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL
remote types: git gcrypt S3 bup directory rsync web webdav tahoe glacier ddar 
hook external
local repository version: 5
supported repository version: 5
upgrade supported from repository versions: 0 1 2 4

The above URL works, so the problem is not with quvi.

I ended up using youtube-dl, which seems more and more like a better
tool than youtube-dl, just because it generally works better... The
API is also somewhat acceptable...

So workaround:

$ youtube-dl http://www.youtube.com/watch?v=skGyFowTzew
[youtube] Setting language
[youtube] skGyFowTzew: Downloading webpage
[youtube] skGyFowTzew: Downloading video info webpage
[youtube] skGyFowTzew: Extracting video information
[download] Destination: PIXO-skGyFowTzew.mp4
[download] 100% of 1.03GiB in 06:03
[1009]anarcat@marcos:films$ git annex add PIXO-skGyFowTzew.mp4
add PIXO-skGyFowTzew.mp4 ok
(Recording state in git...)
$ git annex addurl --relaxed --file=PIXO-skGyFowTzew.mp4 
https://www.youtube.com/watch?v=skGyFowTzew
addurl PIXO-skGyFowTzew.mp4 ok
(Recording state in git...)

A.

-- System Information:
Debian Release: 8.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages git-annex depends on:
ii  curl   7.38.0-4+deb8u2
ii  git1:2.1.4-2.1
ii  libc6  2.19-18
ii  libffi63.1-2+b2
ii  libgmp10   2:6.0.0+dfsg-6
ii  libgnutls-deb0-28  3.3.8-6
ii  libgsasl7  1.8.0-6
ii  libicu52   52.1-8
ii  libidn11   1.29-1+b2
ii  libxml22.9.1+dfsg1-5
ii  libyaml-0-20.1.6-3
ii  openssh-client 1:6.7p1-5
ii  rsync  3.1.1-3
ii  wget   1.16-1
ii  zlib1g 1:1.2.8.dfsg-2+b1

Versions of packages git-annex recommends:
ii  bind9-host 1:9.9.5.dfsg-9
ii  git-remote-gcrypt  0.20130908-7
ii  gnupg  1.4.18-7
ii  lsof   4.86+dfsg-1
ii  nocache0.9-2
ii  quvi   0.4.2-2

Versions of packages git-annex suggests:
pn  bup  none
ii  graphviz 2.38.0-7
ii  libnss-mdns  0.10-6
ii  tahoe-lafs   1.10.0-2

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org