Commit Graph

48 Commits

Author SHA1 Message Date
gsoares
b6f94fa624 zap SUBST_VARS=${MODLUA_BIN} since it is now taken care of lua.port.mk
OK sthen@
2012-10-31 17:19:39 +00:00
jsg
0d86481a73 adapt to recent youtube changes
ok martynas@ ajacoutot@ dcoppa@
tested by matthieu@
2012-09-30 02:45:04 +00:00
jasper
c3990dee0b sync after recent lua.port.mk change 2012-09-19 08:15:08 +00:00
sthen
082443441c unbreak path to lua binary 2012-08-06 09:47:20 +00:00
jasper
144e2930d7 handle multiple lua versions, for now everything builds with the "old" 5.1 in the new location.
use FLAVOR=lua52 to use lua 5.2 with these ports.
2012-07-10 15:22:44 +00:00
jsg
acf35a8c47 unbreak after recent youtube changes and don't covert downloaded
video by default
ok martynas@
2011-08-18 08:27:33 +00:00
jsg
28145ccd0c strip some junk from the title we don't want in the filename
ok martynas@
2011-07-26 12:53:26 +00:00
jasper
96e4cbf59f Strip the trailing full stop after printing the saved filename. Now
you can just double click on the filename in X and have it copied to the
clipboard, without the extra dot.

ok martynas@ (MAINTAINER)
2011-07-19 16:29:45 +00:00
martynas
a563217645 Switch yt over to using FFmpeg's internal AAC encoder (the other
encoder will be going away).  From Brad.
OK sthen@.
2011-05-30 20:28:54 +00:00
martynas
033a20ec17 youtube changed things; apparently it uses double-quotes for id.
recognize both ways (in case they change this again).
ok sthen@, jsg@
2011-03-08 20:11:43 +00:00
espie
0397d65db0 new depends 2010-11-19 22:31:32 +00:00
jasper
d9ccdf4b01 - bump after recent lua.port.mk change
pointed out by sthen@
2010-09-09 17:34:14 +00:00
jsg
cea0586749 update for recent youtube changes
ok martynas@
2010-07-28 22:52:28 +00:00
sthen
d1c6f80880 use REVISION, checked with before/after make show=PKGNAMES (plus some
extra-careful checking where there are complicated PSEUDO_FLAVORS).
2010-07-12 22:07:37 +00:00
jsg
85a4b84d82 the way errors were caught before now picks up non fatal things
like "Melde dich an Kommentar zu posten" so don't treat errors
as fatal any more.
2010-06-07 22:43:26 +00:00
jsg
b66bcb7642 adapt to youtube changes.
ok sthen@
2010-04-05 15:13:26 +00:00
martynas
e24e9e0e64 catch up pattern to the new google video format. don't include
thumbnailUrl.  makes google videos fetch again - reported by jsg@.
2009-09-18 21:10:03 +00:00
martynas
9dfc86c28b add support for proxies (uses the standard http_proxy variable).
ok jsg@
2009-09-13 18:23:11 +00:00
jsg
7e35a4570c Be less demanding with the fmt_map, so we don't
have to care if it is url encoded or not.

Makes us able to fetch higher than lowest quality videos again,
after another youtube change.

ok martynas@
2009-08-24 19:31:27 +00:00
jsg
19e5a7c46e make yt work again after recent youtube changes
fetch higher quality video if avaible
don't convert to mpeg4 if we fetched mpeg4

ok sthen@ martynas@
2009-08-16 19:37:59 +00:00
martynas
50a8a865fd - update comments, it can also fetch google videos now
- take maintainership
- bump package name
2009-06-13 02:01:19 +00:00
martynas
85db4ef145 - start accepting options: -C, -n, -o
- -C will resume previously interrupted transfer
- -n will not convert videos
- -o=XXX will save file to XXX.(mp4|flv)
- print info stuff to stderr;  so we can pipe it
- bump to yt-10;  since usage changes
as a result;  you can actually stream your videos with mplayer, like:
	yt -o=- url | mplayer -
ok jsg@, sthen@
2009-06-13 01:51:08 +00:00
martynas
ff235f87e6 make it, like most other unix utilities, accept multiple urls. ok jsg@ 2009-06-06 11:58:22 +00:00
martynas
ff5eb6e500 tweak high-quality matching expression a bit; newer youtube contains
more information and there may be number that matches quality identificator
while we with Henrikas did not find such video;  there may be
2009-01-07 00:14:52 +00:00
martynas
503831fbde yt.VideoQualityConstants.HIGH may not be enough; be safe and always
fetch low-quality, except when 6 is matched in fmt_list -- in this
case we are sure that high-quality format is available
links provided, much tested by Henrikas Judickas <Henrikas.Judickas at
mif.stud.vu.lt>.  Thanks!
ok jsg@
2009-01-06 18:48:17 +00:00
sthen
d098f627d9 CATEGORIES+=www, use SUBST_CMD, bump. ok jasper 2009-01-06 12:35:27 +00:00
martynas
c8849c89e6 recently youtube added "Send greeting card" function; breaking yt. make
yt more careful with parameter matching;  as a result videos can fetch again
ok jolan@
2009-01-05 18:44:37 +00:00
jsg
22cd8e3851 Check for and display errors, so a string like
"This video is not available in your country." will be
displayed instead of a failed assert.

ok martynas@ pedro@
2008-11-04 04:14:50 +00:00
jsg
71dfa24664 Download higher quality videos (fmt=6) if available.
ok martynas@
2008-09-14 12:28:10 +00:00
jsg
51cd836e2e Add support for links from players embedded in third party pages.
ok martynas@
2008-09-11 11:58:09 +00:00
landry
dd899175bb Convert existing lua-related ports to use new lang/lua MODULE, and bump
PKGNAMEs.

ok wcmaier@ ajacoutot@
2008-06-11 05:04:37 +00:00
martynas
33c528c3d0 - add support for Google Video
- bump package name
"sounds good" jolan@;  tested by Wiktor Izdebski
2008-06-02 17:43:10 +00:00
martynas
e37b0475cc - remove origin
- remove redundant substitution
- better pattern for watch_fullscreen
- bump package name
"sounds good" jolan@;  tested by Wiktor Izdebski
2008-06-02 17:29:56 +00:00
martynas
56f01852ed googlevideo returns 403 for some urls, so switch base_url back to
youtube.  this makes some videos fetch again.  (e.g., video id
uPTcnzgseaQ recently posted on mailing-lists)
ok jolan@, pedro@
2008-05-06 20:49:51 +00:00
martynas
8575e47640 make yt videos that aren't on the primary mirror work again.
googlevideo server expects the "t" parameter to know which mirror
to forward to;  ok jolan@, pedro@
2008-02-01 19:14:59 +00:00
jolan
ed5c180f7c make it work again, from tedude via pedro martelletto 2008-01-28 21:48:45 +00:00
jolan
bca181c4d1 aac->libfaac 2007-11-09 00:26:29 +00:00
ajacoutot
61f8a5494e - typo
from Matthew Clarke <clamat at telus dot net>
2007-10-30 20:03:30 +00:00
jolan
b6945986bf generate files that will play in quicktime, ok pedro martelletto 2007-10-29 22:50:31 +00:00
merdely
241b722760 Remove surrounding quotes in COMMENT*/PERMIT_*/BROKEN/ERRORS
Add $OpenBSD$ to p5-SNMP-Info/Makefile (ok kili@, simon@)
2007-09-15 22:36:51 +00:00
jasper
a0d8b81c7c update to yt-7, makes it work again
from pedro
2007-08-26 21:47:46 +00:00
mbalmer
34209deb75 Remove Pedro Martelleto as MAINTAINER per his own request.
ok espie
2007-08-05 12:34:33 +00:00
sturm
a9d3b89a95 substitute all special characters but dashes with '_'
discussed with and ok pedro
2007-06-23 05:16:22 +00:00
pedro
f38531f8b5 yt-4, handles new youtube html syntax, from jsg@ 2007-06-19 17:32:52 +00:00
sturm
a6c98c1700 make this example script into a standalone application
ok pedro
2007-02-24 09:52:01 +00:00
jasper
51fbf235c2 add NO_CHECKSUM
no objections from sturm@, ok pedro@ (MAINTAINER)
2007-02-22 22:47:26 +00:00
pedro
4a0e94069e yt-2, with suggestions from sturm@, okay sturm@, jasper@ 2007-02-21 13:50:18 +00:00
jasper
c486923689 import yt.
yt is an extensible Lua script to fetch videos from YouTube.com. You can
(and probaly should) customize it to use your preferred tools. By
default it uses net/curl and graphics/ffmpeg.

based on a port by and ok pedro@
2007-02-04 13:23:12 +00:00