2023-09-10 14:45:01 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License version 2 as
|
|
|
|
# published by the Free Software Foundation.
|
|
|
|
|
|
|
|
from gallery_dl.extractor import bunkr
|
|
|
|
|
|
|
|
|
|
|
|
__tests__ = (
|
|
|
|
{
|
2024-01-25 20:22:05 +01:00
|
|
|
"#url" : "https://bunkr.sk/a/Lktg9Keq",
|
2023-09-10 14:45:01 +02:00
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
2024-10-21 14:07:27 +02:00
|
|
|
"#urls" : "https://i-burger.bunkr.ru/test-%E3%83%86%E3%82%B9%E3%83%88-%22%26%3E-QjgneIQv.png?download=true",
|
|
|
|
"#sha1_content": "0c8768055e4e20e7c7259608b67799171b691140",
|
2023-09-10 14:45:01 +02:00
|
|
|
|
2024-02-11 22:36:03 +01:00
|
|
|
"album_id" : "Lktg9Keq",
|
|
|
|
"album_name" : "test テスト \"&>",
|
|
|
|
"album_size" : "182 B",
|
|
|
|
"count" : 1,
|
|
|
|
"extension" : "png",
|
2024-10-21 14:07:27 +02:00
|
|
|
"file" : "https://i-burger.bunkr.ru/test-%E3%83%86%E3%82%B9%E3%83%88-%22%26%3E-QjgneIQv.png?download=true",
|
2024-02-11 22:36:03 +01:00
|
|
|
"filename" : "test-テスト-\"&>-QjgneIQv",
|
|
|
|
"id" : "QjgneIQv",
|
|
|
|
"name" : "test-テスト-\"&>",
|
|
|
|
"num" : 1,
|
2023-09-10 14:45:01 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.is/a/iXTTc1o2",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
2023-09-30 18:05:12 +02:00
|
|
|
"#urls" : (
|
2024-10-21 14:07:27 +02:00
|
|
|
"https://i-milkshake.bunkr.ru/image-sZrQUeOx.jpg?download=true",
|
2023-09-30 18:05:12 +02:00
|
|
|
),
|
2024-10-21 14:07:27 +02:00
|
|
|
"#sha1_content": "caf7c3d3439d94e83b3c24ddaf5a3a48aa057519",
|
2023-09-10 14:45:01 +02:00
|
|
|
|
|
|
|
"album_id" : "iXTTc1o2",
|
|
|
|
"album_name" : "test2",
|
2024-11-10 20:41:39 +01:00
|
|
|
"album_size" : "534.6 KB",
|
|
|
|
"count" : 1,
|
|
|
|
"filename" : r"image-sZrQUeOx",
|
|
|
|
"id" : r"sZrQUeOx",
|
|
|
|
"name" : r"image",
|
|
|
|
"num" : 1,
|
2023-09-10 14:45:01 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-02-11 22:36:03 +01:00
|
|
|
"#url" : "https://bunkr.cat/a/j1G29CnD",
|
2023-09-10 14:45:01 +02:00
|
|
|
"#comment" : "cdn12 .ru TLD (#4147)",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
2023-09-30 18:05:12 +02:00
|
|
|
"#pattern" : r"https://(i-)?meatballs.bunkr.ru/\w+",
|
2024-10-21 14:07:27 +02:00
|
|
|
"#count" : 7,
|
2023-09-10 14:45:01 +02:00
|
|
|
},
|
|
|
|
|
2024-11-10 20:41:39 +01:00
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.ph/a/Lktg9Keq",
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
2024-10-14 16:27:09 +02:00
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.ps/a/Lktg9Keq",
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
2024-10-04 09:16:31 +02:00
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.pk/a/Lktg9Keq",
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
2024-08-14 18:56:47 +02:00
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.ax/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
2024-08-10 12:25:43 +02:00
|
|
|
{
|
|
|
|
"#url" : "https://bunkrrr.org/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.ci/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
2024-11-10 20:41:39 +01:00
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.cr/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
2024-07-21 06:41:50 +02:00
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.fi/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
2024-02-11 22:36:03 +01:00
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.si/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.ac/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.media/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.site/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.ws/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
2024-01-25 20:22:05 +01:00
|
|
|
{
|
|
|
|
"#url" : "https://bunkrr.ru/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
2023-09-10 14:45:01 +02:00
|
|
|
{
|
|
|
|
"#url" : "https://bunkrr.su/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.la/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.su/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.ru/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.is/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "https://bunkr.to/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
2024-08-14 18:56:47 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"#url" : "bunkr:http://example.org/a/Lktg9Keq",
|
|
|
|
"#category": ("lolisafe", "bunkr", "album"),
|
|
|
|
"#class" : bunkr.BunkrAlbumExtractor,
|
2023-09-10 14:45:01 +02:00
|
|
|
},
|
|
|
|
|
2023-10-20 15:22:44 +02:00
|
|
|
{
|
2024-02-11 22:36:03 +01:00
|
|
|
"#url" : "https://bunkr.black/i/image-sZrQUeOx.jpg",
|
2023-10-20 15:22:44 +02:00
|
|
|
"#category": ("lolisafe", "bunkr", "media"),
|
|
|
|
"#class" : bunkr.BunkrMediaExtractor,
|
2024-10-21 14:07:27 +02:00
|
|
|
"#urls" : "https://i-milkshake.bunkr.ru/image-sZrQUeOx.jpg?download=true",
|
|
|
|
"#sha1_content": "caf7c3d3439d94e83b3c24ddaf5a3a48aa057519",
|
2023-10-20 15:22:44 +02:00
|
|
|
|
|
|
|
"count" : 1,
|
|
|
|
"extension": "jpg",
|
2024-10-21 14:07:27 +02:00
|
|
|
"file" : "https://i-milkshake.bunkr.ru/image-sZrQUeOx.jpg?download=true",
|
2023-10-20 15:22:44 +02:00
|
|
|
"filename" : "image-sZrQUeOx",
|
|
|
|
"id" : "sZrQUeOx",
|
|
|
|
"name" : "image",
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2024-10-21 14:07:27 +02:00
|
|
|
"#url" : "https://bunkrrr.org/d/dJuETSzKLrUps",
|
2023-10-20 15:22:44 +02:00
|
|
|
"#category": ("lolisafe", "bunkr", "media"),
|
|
|
|
"#class" : bunkr.BunkrMediaExtractor,
|
2024-10-21 14:07:27 +02:00
|
|
|
"#urls" : "https://burger.bunkr.ru/file-r5fmwjdd.zip",
|
|
|
|
"#sha1_content": "102ddd7894fe39b3843098fc51f972a0af938f45",
|
2023-10-20 15:22:44 +02:00
|
|
|
|
|
|
|
"count" : 1,
|
2024-08-17 11:01:42 +02:00
|
|
|
"extension": "zip",
|
2024-10-21 14:07:27 +02:00
|
|
|
"file" : "https://burger.bunkr.ru/file-r5fmwjdd.zip",
|
|
|
|
"filename" : "file-r5fmwjdd",
|
|
|
|
"id" : "r5fmwjdd",
|
|
|
|
"name" : "file",
|
2023-10-20 15:22:44 +02:00
|
|
|
},
|
|
|
|
|
2023-09-10 14:45:01 +02:00
|
|
|
)
|