Commit Graph

102 Commits

Author SHA1 Message Date
Mike Fährmann
ef635635c1 [imagehosts] combine imgdrive/taxi/wallet extractors
less class definitions for the same code
2025-08-13 15:31:04 +02:00
Mike Fährmann
bbdf584919 [imgwallet] add 'image' extractor (#8021) 2025-08-13 11:58:54 +02:00
Mike Fährmann
8581b3f7c5 [silverpic] add 'image' extractor (#8020) 2025-08-13 09:16:03 +02:00
Mike Fährmann
c6f8a99c75 [imgtaxi] add 'image' extractor (#8019) 2025-08-13 08:50:42 +02:00
Mike Fährmann
116999fc92 [fappic] rewrite thumbnail URLs (#8013) 2025-08-12 22:11:10 +02:00
Mike Fährmann
d7f654c643 [fappic] fix 'filename' 2025-08-11 18:44:37 +02:00
Mike Fährmann
ef8044f546 [imgdrive] add 'image' extractor (#7976) 2025-08-05 19:50:06 +02:00
Marcus Minhorst
65fbd3972d [picstate] add 'image' extractor (#7946) 2025-08-01 07:48:00 +02:00
Mike Fährmann
d99b2ab47a [imgadult] add 'image' extractor (#7893) 2025-07-25 18:58:29 +02:00
Mike Fährmann
9dbe33b6de replace old %-formatted and .format(…) strings with f-strings (#7671)
mostly using flynt
https://github.com/ikamensh/flynt
2025-06-29 17:50:19 +02:00
Mike Fährmann
41191bb60a 'match.group(N)' -> 'match[N]' (#7671)
2.5x faster
2025-06-18 13:05:58 +02:00
Mike Fährmann
e08ec7e083 update copyright notices 2025-06-13 00:03:41 +02:00
Mike Fährmann
e469dc0da8 [imagevenue] detect 404 image files (#7570) 2025-05-24 22:12:48 +02:00
arebokert
556fbb1a44 [turboimagehost] add support for galleries
- added support
- raise error if gallery not found
- fix test
- fix lint issues
- simplify
2025-01-19 17:28:45 +01:00
Mike Fährmann
4641937ca3 [imagetwist] add 'gallery' extractor (#5190) 2024-02-11 18:41:02 +01:00
Mike Fährmann
27ec653991 fix bug in test_init and update example URLs 2023-09-14 13:27:03 +02:00
Mike Fährmann
a453335a9f remove test results in extractor modules
and add generic example URLs
2023-09-11 16:30:55 +02:00
Mike Fährmann
1d2b5d0c60 update test comment positions
always put them above the test they're referring to
2023-09-06 18:16:09 +02:00
Mike Fährmann
ba842981af [imagevenue] fix extraction (#4473) 2023-08-29 12:06:30 +02:00
Mike Fährmann
d12a5e440a update docs/supportedsites 2023-08-24 15:01:26 +02:00
Mike Fährmann
7eab101144 [acidimg] fix extraction
swap ' and " again (2e309a13)
and add a fallback in case this happens yet another time
2023-07-28 14:23:11 +02:00
Mike Fährmann
62fce6a75f [imagehosts] adjust variable names (#4358)
prefix them with underscores to prevent a clash
with the new 'self.cookies' from d97b8c2f
2023-07-28 14:18:47 +02:00
Mike Fährmann
2d9e3093ca merge #4134: [postimage] add gallery support, update image extractor 2023-06-03 15:56:35 +02:00
chio0hai
2e309a13a7 [acidimg] fix extractor 2023-06-03 00:58:33 -04:00
chio0hai
92178b369c [postimage] add gallery support, update image extractor to download
original image instead of main image
2023-06-03 00:23:34 -04:00
Mike Fährmann
5fb7107f2b [imxto] fix 'gallery' extraction
support both single and double quotes
2023-04-30 15:23:13 +02:00
Mike Fährmann
5b635f2317 [imxto] add 'gallery' extractor (#1289) 2023-04-17 20:49:09 +02:00
Mike Fährmann
706ec70e89 [imagetwist] simplify pattern and add tests 2023-02-06 14:51:57 +01:00
Prinz23
29f0830b53 [imagetwist] add phun.imagetwist.com and imagehaha.com alias to imagetwist extractor 2023-02-05 21:13:39 +01:00
Mike Fährmann
5f57a27ba6 [imagetwist] fix extraction 2022-12-05 22:15:59 +01:00
enduser420
54844944ab [pixhost] add 'gallery' support (#3353) 2022-12-04 16:19:14 +01:00
enduser420
93ea8ca8e3 [imxto] extract additional metadata (#3175) 2022-11-11 08:53:07 +01:00
Mike Fährmann
b0cb4a1b9c replace 'text.extract()' with 'text.extr()' where possible 2022-11-05 01:14:09 +01:00
Mike Fährmann
7b5dad075d [fappic] fix extraction 2022-10-01 12:19:33 +02:00
Mike Fährmann
e0bdacd932 [fappic] add 'image' extractor (closes #1898) 2021-09-28 23:35:29 +02:00
Mike Fährmann
bd08ee2859 remove most 'yield Message.Version' statements
only leave them in oauth.py as noop results
2021-08-16 03:10:48 +02:00
Mike Fährmann
64240c8d42 [imagevenue] fix extraction
(closes #1677)
2021-07-09 20:13:18 +02:00
Mike Fährmann
204523611c [imgclick] use 'http://' for image URLs
The TLS certificate for main.imgclick.net is invalid.
2021-03-19 01:30:49 +01:00
Mike Fährmann
ca6b0fc2ac [imagehosts] cleanup 2021-02-10 17:36:45 +01:00
Mike Fährmann
95a66bdad6 [imgclick] add 'image' extractor (closes #1307)
basically reverts b0e8daf415
2021-02-10 17:22:12 +01:00
Mike Fährmann
e5e591b848 [vipr] simplify and add test (#1258) 2021-01-20 21:40:04 +01:00
v-delta
e707e060cb [vipr] add image extractor (#1258)
* [vipr] add image extractor

Adds support for images hosted on https://vipr.im

* Fix codestyle issues
2021-01-20 21:38:43 +01:00
Mike Fährmann
1e3dd7330e merge SharedConfigMixin functionality into Extractor 2020-11-17 00:34:07 +01:00
Mike Fährmann
968d3e8465 remove '&' from URL patterns
'/?&#' -> '/?#' and '?&#' -> '?#'

According to https://www.ietf.org/rfc/rfc3986.txt, URLs are
"organized hierarchically" by using "the slash ("/"), question
mark ("?"), and number sign ("#") characters to delimit components"
2020-10-22 23:31:25 +02:00
Mike Fährmann
9be7ff600e [imagetwist] replace test image
the old one expired, it seems
2019-12-22 22:13:13 +01:00
Mike Fährmann
d0920e84e9 update test results 2019-12-19 18:33:48 +01:00
Mike Fährmann
a2af2d2965 adjust cache maxage values 2019-03-14 22:21:49 +01:00
Mike Fährmann
fffbfd3dce [imgspice] fix extraction 2019-03-09 20:29:23 +01:00
Mike Fährmann
5530871b5a change results of text.nameext_from_url()
Instead of getting a complete 'filename' from an URL and splitting that
into 'name' and 'extension', the new approach gets rid of the complete
version and renames 'name' to 'filename'. (Using anything other than
{extension} for a filename extension doesn't really work anyway)

Example: "https://example.org/path/filename.ext"

before:
- filename : filename.ext
- name     : filename
- extension: ext

now:
- filename : filename
- extension: ext
2019-02-14 16:07:17 +01:00
Mike Fährmann
2e516a1e3e store the full original URL in Extractor.url 2019-02-12 18:46:48 +01:00