]> git.pld-linux.org Git - packages/PicasaWebDownloader.git/blob - PicasaWebDownloader-url.patch
- BR: unzip
[packages/PicasaWebDownloader.git] / PicasaWebDownloader-url.patch
1 --- PicasaWebDownloader-1.1/Program.cs.orig     2007-08-20 14:10:44.000000000 +0200
2 +++ PicasaWebDownloader-1.1/Program.cs  2007-11-05 21:06:28.238055228 +0100
3 @@ -36,10 +36,10 @@
4                 static bool canonizePicasaUrl( string source, out Uri targetUri )
5                 {
6                         Regex pattern = new Regex(
7 -                               @"^(http://picasaweb\.google\.com/" +
8 +                               @"^(http://picasaweb\.google\.(\w|\.)+/" +
9                                 @"((?<username>\w(\w|\.)+)/(?<album>\w(\w|\.)+))" +
10                                 @"|(data/feed/base/user/(?<username>\w(\w|\.)+)/album(?<qual>id)/(?<album>\d+)))" +
11 -                @"(\?.*(?<authkey>authkey\=\w+))?",
12 +                @"(\?.*(?<authkey>authkey\=(\w|-)+))?",
13                  RegexOptions.IgnoreCase | RegexOptions.ExplicitCapture | RegexOptions.IgnorePatternWhitespace );
14  
15                     string replacement = 
This page took 0.041237 seconds and 3 git commands to generate.