1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 03:02:50 +01:00

[photobucket] replace test URL

The other user deleted all of is images.
This commit is contained in:
Mike Fährmann 2019-11-02 20:17:08 +01:00
parent 64786363be
commit b3b9da6d74
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -22,11 +22,11 @@ class PhotobucketAlbumExtractor(Extractor):
filename_fmt = "{offset:>03}{pictureId:?_//}_{titleOrFilename}.{extension}"
archive_fmt = "{id}"
pattern = (r"(?:https?://)?((?:[^.]+\.)?photobucket\.com)"
r"/user/[^/?&#]+/library/[^?&#]*")
r"/user/[^/?&#]+/library(?:/[^?&#]*)?")
test = (
("https://s258.photobucket.com/user/focolandia/library/", {
"pattern": r"https?://[oi]+\d+.photobucket.com/albums/hh280/",
"count": ">= 39"
("https://s369.photobucket.com/user/CrpyLrkr/library", {
"pattern": r"https?://[oi]+\d+.photobucket.com/albums/oo139/",
"count": ">= 50"
}),
# subalbums of main "directory"
("https://s271.photobucket.com/user/lakerfanryan/library/", {