From 3371fd379717d61f45d3fd257057587821fd45ba Mon Sep 17 00:00:00 2001 From: Alexey Kuznetsov Date: Thu, 6 Dec 2012 16:04:04 +0100 Subject: [PATCH 1/3] bump version vget 1.0.32-SNAPSHOT --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 17ebafb..1302dac 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.github.axet vget jar - 1.0.32 + 1.0.32-SNAPSHOT vget vget java video download library https://github.com/axet/vget From 11a63093cf99b023cfbbf8fd176fa0872a93c086 Mon Sep 17 00:00:00 2001 From: Alexey Kuznetsov Date: Sun, 9 Dec 2012 18:20:28 +0100 Subject: [PATCH 2/3] update vimeo handle filter --- .../github/axet/vget/info/VimeoParser.java | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/github/axet/vget/info/VimeoParser.java b/src/main/java/com/github/axet/vget/info/VimeoParser.java index 222433d..ad815cb 100644 --- a/src/main/java/com/github/axet/vget/info/VimeoParser.java +++ b/src/main/java/com/github/axet/vget/info/VimeoParser.java @@ -32,12 +32,24 @@ public static boolean probe(URL url) { } public static String extractId(URL url) { - Pattern u = Pattern.compile("vimeo.com.*/(\\d+)"); - Matcher um = u.matcher(url.toString()); - - if (um.find()) - return um.group(1); - + // standard web url. format: "https://vimeo.com/49243107" or + // "http://vimeo.com/channels/staffpicks/49243107" + { + Pattern u = Pattern.compile("vimeo.com.*/(\\d+)"); + Matcher um = u.matcher(url.toString()); + + if (um.find()) + return um.group(1); + } + // rss feed url. format: + // "http://vimeo.com/moogaloop.swf?clip_id=49243107" + { + Pattern u = Pattern.compile("vimeo.com.*=(\\d+)"); + Matcher um = u.matcher(url.toString()); + + if (um.find()) + return um.group(1); + } return null; } From 13bab444a25fdef1750e0960f29972c0aedc292b Mon Sep 17 00:00:00 2001 From: Alexey Kuznetsov Date: Sun, 9 Dec 2012 18:21:03 +0100 Subject: [PATCH 3/3] bump version vget 1.0.33 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1302dac..49abaca 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.github.axet vget jar - 1.0.32-SNAPSHOT + 1.0.33 vget vget java video download library https://github.com/axet/vget