The diff below restores the port's functionality.
-p.
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/yt/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile 5 Aug 2007 12:34:33 -0000 1.7
+++ Makefile 26 Aug 2007 21:27:54 -0000
@@ -2,7 +2,7 @@
COMMENT= "customizable script to fetch youtube videos"
-PKGNAME= yt-6
+PKGNAME= yt-7
CATEGORIES= net
DISTFILES=
Index: files/yt.lua
===================================================================
RCS file: /cvs/ports/net/yt/files/yt.lua,v
retrieving revision 1.4
diff -u -r1.4 yt.lua
--- files/yt.lua 23 Jun 2007 05:16:22 -0000 1.4
+++ files/yt.lua 26 Aug 2007 21:27:54 -0000
@@ -38,7 +38,7 @@
e_avi = string.format("%q", avi)
-- Look for the video ID.
-pattern = "player2.swf.*video_id=(.-)\","
+pattern = "/watch_fullscreen.*video_id=(.-)&fs="
id = assert(string.match(body, pattern))
-- Fetch the video.