Mike Fährmann
|
fdec59f8e2
|
replace extractor.request() 'expect' argument
with
- 'fatal': allow 4xx status codes
- 'notfound': raise NotFoundError on 404
|
5 years ago |
Mike Fährmann
|
4b1880fa5e
|
propagate 'match' to base extractor constructor
|
6 years ago |
Mike Fährmann
|
6284731107
|
simplify extractor constants
- single strings for URL patterns
- tuples instead of lists for 'directory_fmt' and 'test'
- single-tuple tests where applicable
|
6 years ago |
Mike Fährmann
|
34bab080ae
|
rewrite URL patterns to use only 1 per extractor
|
6 years ago |
Mike Fährmann
|
ff436692bf
|
["deviantart] add 'journals' option
|
6 years ago |
Mike Fährmann
|
017188d268
|
improve extractor.request()
Replace the 'fatal' parameter with 'expect', which is a list/range
of HTTP status codes >= 400 that should also be accepted.
|
6 years ago |
Mike Fährmann
|
ad14de19c6
|
[imgur] support "unmuted" URLs
|
6 years ago |
Mike Fährmann
|
4cea886177
|
[imgur] allow longer album hashes
|
6 years ago |
Mike Fährmann
|
1b80fa82a9
|
[imgur] update URL pattern and tests
|
7 years ago |
Mike Fährmann
|
179bcdd349
|
adjust archive-ids
|
7 years ago |
Mike Fährmann
|
3cec533c28
|
Merge branch 'archive'
|
7 years ago |
Mike Fährmann
|
20af86b2ea
|
add more extractor tests
for mangastream, reddit and imgur
|
7 years ago |
Mike Fährmann
|
7e0207bcf4
|
[imgur] strip trailing '?1' from 'ext'
|
7 years ago |
Mike Fährmann
|
34873dbd90
|
set 'archive_fmt' values
These are going to be used to create an unique id for each image.
|
7 years ago |
Mike Fährmann
|
76509a6d3c
|
[imgur] update test results
|
7 years ago |
Mike Fährmann
|
82ea6c0cd3
|
adjust format strings with optional titles
... except for anything manga/comic related
|
7 years ago |
H R X N
|
77bf923c56
|
Update imgur.py to include 'title' of single image (#40)
Add {title} keyword..
Images on Imgur don't necessarily have a title, but I think most of them do, and since this should not break anything else..
|
7 years ago |
Mike Fährmann
|
00420ff202
|
[booru] consistent order for "popular" results
|
7 years ago |
Mike Fährmann
|
915a0137de
|
improve 'extractor.request'
- add 'fatal' argument
- improve internal logic and flow
- raise known exception on error
- update exception hierarchy
|
7 years ago |
Mike Fährmann
|
a13eb6010f
|
[fallenangels] fix extraction of chapter URLs
|
7 years ago |
Mike Fährmann
|
2f2e363c97
|
[imgur] use /a/<key>/all as album-url
|
7 years ago |
Mike Fährmann
|
1cec03c9c6
|
[imgur] fix extraction of large albums
|
7 years ago |
Mike Fährmann
|
b6fffa9e26
|
[directlink] update filename format and metadata
|
7 years ago |
Mike Fährmann
|
c184e47ee3
|
put common directory- and filename formats in base classes
|
7 years ago |
Mike Fährmann
|
011659ced5
|
[imgur] add "mp4" config key to decide between GIF and MP4
possible values:
- false : always use GIF
- true : use MP4 if "prefer_video" flag is set,
GIF otherwise (default)
- "always": always use MP4
|
7 years ago |
Mike Fährmann
|
bf452a8516
|
[imgur] choose .mp4 over .gif if available
|
7 years ago |
Mike Fährmann
|
67791e1b36
|
[imgur] improve and add image extractor
|
7 years ago |
Mike Fährmann
|
94e10f249a
|
code adjustments according to pep8 nr2
|
8 years ago |
Mike Fährmann
|
a849d8f2f7
|
add a few more tests
|
8 years ago |
Mike Fährmann
|
e0b3339107
|
[imgur] match mobile urls (m.imgur.com)
|
8 years ago |
Mike Fährmann
|
f7c993d952
|
set 'extension' keyword whenever possible
|
8 years ago |
Mike Fährmann
|
8c8ad08e28
|
[imgur] fix image url retrieval
|
8 years ago |
Mike Fährmann
|
56d810c896
|
update keyword hashes for tests
|
8 years ago |
Mike Fährmann
|
19c2d4ff6f
|
remove explicit (sub)category keywords
|
8 years ago |
Mike Fährmann
|
d7e168799d
|
consistent extractor naming scheme + docstrings
|
8 years ago |
Mike Fährmann
|
c2c2e85da3
|
[imgur] unescape album title + other fixes
|
8 years ago |
Mike Fährmann
|
2449532132
|
add more extractor test-cases
|
9 years ago |
Mike Fährmann
|
9c9b1e112a
|
[imgur] fix 'date' and 'count' keywords
|
9 years ago |
Mike Fährmann
|
4d56b76aa8
|
update all other extractors
|
9 years ago |
Mike Fährmann
|
73eeed3e72
|
[imgur] rewrite
|
9 years ago |
Mike Fährmann
|
4427734b70
|
[imgur] fix parsing
|
9 years ago |
Mike Fährmann
|
c47bb4d570
|
add extractor 'imgur'
|
9 years ago |