1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00

[lolisafe] add support for xbunkr (#3156)

This commit is contained in:
enduser420 2022-11-04 20:43:52 +05:30 committed by GitHub
parent 9fc142d27b
commit c01cad599a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 0 deletions

View File

@ -1331,5 +1331,11 @@ Consider all sites to be NSFW unless otherwise known.
<td>Albums</td> <td>Albums</td>
<td></td> <td></td>
</tr> </tr>
<tr>
<td>xBunkr</td>
<td>https://xbunkr.com/</td>
<td>Albums</td>
<td></td>
</tr>
</tbody> </tbody>
</table> </table>

View File

@ -24,6 +24,10 @@ BASE_PATTERN = LolisafeExtractor.update({
"root": "https://zz.ht", "root": "https://zz.ht",
"pattern": r"zz\.(?:ht|fo)", "pattern": r"zz\.(?:ht|fo)",
}, },
"xbunkr": {
"root": "https://xbunkr.com",
"pattern": r"xbunkr\.com",
}
}) })
@ -40,6 +44,15 @@ class LolisafeAlbumExtractor(LolisafeExtractor):
}, },
}), }),
("https://zz.fo/a/lop7W6EZ"), ("https://zz.fo/a/lop7W6EZ"),
("https://xbunkr.com/a/TA0bu3F4", {
"pattern": r"https://media\.xbunkr\.com/[^.]+\.\w+",
"count": 861,
"keyword": {
"album_id": "TA0bu3F4",
"album_name": "Hannahowo Onlyfans Photos",
}
}),
("https://xbunkr.com/a/GNQc2I5d"),
) )
def __init__(self, match): def __init__(self, match):

View File

@ -121,6 +121,7 @@ CATEGORY_MAP = {
"wallpapercave" : "Wallpaper Cave", "wallpapercave" : "Wallpaper Cave",
"webtoons" : "Webtoon", "webtoons" : "Webtoon",
"wikiart" : "WikiArt.org", "wikiart" : "WikiArt.org",
"xbunkr" : "xBunkr",
"xhamster" : "xHamster", "xhamster" : "xHamster",
"xvideos" : "XVideos", "xvideos" : "XVideos",
"yandere" : "yande.re", "yandere" : "yande.re",