From 375eefb8869c59a14ecec69a1014b00480ea890b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sat, 20 Jan 2024 02:21:40 +0100 Subject: [PATCH] [chevereto] remove 'pixl.li' "Pixl is closing down" "All images will be deleted January 1st." --- docs/supportedsites.md | 6 --- gallery_dl/extractor/chevereto.py | 4 -- test/results/pixl.py | 63 ------------------------------- 3 files changed, 73 deletions(-) delete mode 100644 test/results/pixl.py diff --git a/docs/supportedsites.md b/docs/supportedsites.md index ba9e5b91..4da570e8 100644 --- a/docs/supportedsites.md +++ b/docs/supportedsites.md @@ -1065,12 +1065,6 @@ Consider all listed sites to potentially be NSFW. Albums, individual Images, User Profiles - - Pixl - https://pixl.li/ - Albums, individual Images, User Profiles - - IMG.Kiwi https://img.kiwi/ diff --git a/gallery_dl/extractor/chevereto.py b/gallery_dl/extractor/chevereto.py index 2bf200b0..ef5a44c3 100644 --- a/gallery_dl/extractor/chevereto.py +++ b/gallery_dl/extractor/chevereto.py @@ -38,10 +38,6 @@ BASE_PATTERN = CheveretoExtractor.update({ "root": "https://jpg4.su", "pattern": r"jpe?g\d?\.(?:su|pet|fish(?:ing)?|church)", }, - "pixl": { - "root": "https://pixl.li", - "pattern": r"pixl\.(?:li|is)", - }, "imgkiwi": { "root": "https://img.kiwi", "pattern": r"img\.kiwi", diff --git a/test/results/pixl.py b/test/results/pixl.py deleted file mode 100644 index e82353ee..00000000 --- a/test/results/pixl.py +++ /dev/null @@ -1,63 +0,0 @@ -# -*- 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 chevereto - - -__tests__ = ( -{ - "#url" : "https://pixl.li/image/894x1023-1c8d6dd3b1b0cd4b0d286b229157a7de.z3DwHB", - "#category": ("chevereto", "pixl", "image"), - "#class" : chevereto.CheveretoImageExtractor, - "#urls" : "https://i.pixl.li/894x1023_1c8d6dd3b1b0cd4b0d286b229157a7de.jpg", - "#sha1_content": "3279b86d0ac42348c703770c4781ecdc300fc13c", - - "album": "", - "extension": "jpg", - "filename": "894x1023_1c8d6dd3b1b0cd4b0d286b229157a7de", - "id": "z3DwHB", - "url": "https://i.pixl.li/894x1023_1c8d6dd3b1b0cd4b0d286b229157a7de.jpg", - "user": "matafaka1", -}, - -{ - "#url" : "https://pixl.is/image/894x1023-1c8d6dd3b1b0cd4b0d286b229157a7de.z3DwHB", - "#category": ("chevereto", "pixl", "image"), - "#class" : chevereto.CheveretoImageExtractor, -}, - -{ - "#url" : "https://pixl.li/album/estelasaubi.D0bJf", - "#category": ("chevereto", "pixl", "album"), - "#class" : chevereto.CheveretoAlbumExtractor, - "#pattern" : chevereto.CheveretoImageExtractor.pattern, - "#count" : 173, -}, - -{ - "#url" : "https://pixl.li/mjstik", - "#category": ("chevereto", "pixl", "user"), - "#class" : chevereto.CheveretoUserExtractor, - "#pattern" : chevereto.CheveretoImageExtractor.pattern, - "#range" : "1-20", - "#count" : 20, -}, - -{ - "#url" : "https://pixl.li/mjstik/albums", - "#category": ("chevereto", "pixl", "user"), - "#class" : chevereto.CheveretoUserExtractor, - "#pattern" : chevereto.CheveretoAlbumExtractor.pattern, - "#count" : 285, -}, - -{ - "#url" : "https://pixl.is/renford/albums", - "#category": ("chevereto", "pixl", "user"), - "#class" : chevereto.CheveretoUserExtractor, -}, - -)