mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 02:32:33 +01:00
[bunkr] remove 'description' metadata
album descriptions are no longer available on album pages and the previous code erroneously returned just '0'
This commit is contained in:
parent
32262a048b
commit
1d6260f456
@ -54,7 +54,6 @@ class BunkrAlbumExtractor(LolisafeAlbumExtractor):
|
||||
"album_id" : self.album_id,
|
||||
"album_name" : text.unescape(info[0]),
|
||||
"album_size" : size[1:-1],
|
||||
"description": text.unescape(info[2]) if len(info) > 2 else "",
|
||||
"count" : len(urls),
|
||||
}
|
||||
|
||||
|
@ -13,13 +13,12 @@ __tests__ = (
|
||||
"#category": ("lolisafe", "bunkr", "album"),
|
||||
"#class" : bunkr.BunkrAlbumExtractor,
|
||||
"#urls" : "https://i-burger.bunkr.ru/test-テスト-\"&>-QjgneIQv.png",
|
||||
"#sha1_content": "f38b54b17cd7462e687b58d83f00fca88b1b105a",
|
||||
"#sha1_content": "961b25d85b5f5bd18cbe3e847ac55925f14d0286",
|
||||
|
||||
"album_id" : "Lktg9Keq",
|
||||
"album_name" : "test テスト \"&>",
|
||||
"album_size" : "182 B",
|
||||
"count" : 1,
|
||||
"description": "",
|
||||
"extension" : "png",
|
||||
"file" : "https://i-burger.bunkr.ru/test-テスト-\"&>-QjgneIQv.png",
|
||||
"filename" : "test-テスト-\"&>-QjgneIQv",
|
||||
@ -43,7 +42,6 @@ __tests__ = (
|
||||
"album_name" : "test2",
|
||||
"album_size" : "561.6 KB",
|
||||
"count" : 2,
|
||||
"description": "",
|
||||
"filename" : r"re:video-gLn1hgpw|image-sZrQUeOx",
|
||||
"id" : r"re:gLn1hgpw|sZrQUeOx",
|
||||
"name" : r"re:video|image",
|
||||
|
Loading…
Reference in New Issue
Block a user