Commit Graph

120 Commits

Author SHA1 Message Date
Mike Fährmann
c1a6862863 implement functions to load/save cookies.txt files (closes #586)
The methods of the standard libraries' MozillaCookieJar have
several shortcomings (#HttpOnly_ cookies, 0 expiration timestamps, etc.)
and require construction of an ultimately pointless CookieJar object.
2020-01-21 21:59:36 +01:00
Mike Fährmann
5d73b7f29c release version 1.12.3 2020-01-19 23:31:28 +01:00
Mike Fährmann
b9cbf932b4 [pixiv] update URL patterns (fixes #568)
Pixiv now uses new URLs for
- user profiles and illustration listings:
  - https://www.pixiv.net/en/users/<ID>
  - https://www.pixiv.net/en/users/<ID>/artworks
- bookmarks:
  - https://www.pixiv.net/en/users/<ID>/bookmarks/artworks
2020-01-10 13:38:09 +01:00
Mike Fährmann
9d369de592 release version 1.12.2 2020-01-05 21:47:13 +01:00
Mike Fährmann
bf3df3d0b0 [directlink] send Referer headers (closes #536) 2019-12-25 17:17:07 +01:00
Mike Fährmann
83909ab5d4 release version 1.12.1 2019-12-22 22:26:33 +01:00
Mike Fährmann
bbbafc1c24 [downloader:http] catch both possible SSLException instances
With pyOpenSSL installed, but disabled, the SSLError exception
would be set to the one from pyOpenSSL, which could never get raised.

This commit solves this problem by catching both, the native SSLError
exception as well as the one from pyOpenSSL (if available.1)
2019-12-09 20:34:10 +01:00
Mike Fährmann
f451be48c3 release version 1.12.0 2019-12-08 22:47:13 +01:00
Mike Fährmann
da6789b2b0 disable unique archive id checks for some tests
- same image twice in a livedoor blog post
- unreliable results for related pinterest items
2019-11-10 17:04:51 +01:00
Mike Fährmann
67e54ed8ea release version 1.11.1 2019-11-09 00:52:06 +01:00
Mike Fährmann
ce98a86c0e fix data file inclusion in source distributions 2019-11-09 00:47:13 +01:00
Mike Fährmann
6c86fbfe2a release version 1.11.0 2019-11-08 22:34:56 +01:00
Mike Fährmann
1693d97bd3 update extractor class hierarchies
- let the GalleryExtractor class inherit directly from Extractor
- make ChapterExtractor a subclass of GalleryExtractor
- change enumeration field names of GalleryExtractors to 'num'
2019-10-16 18:15:29 +02:00
Mike Fährmann
6abe5f5bbb [patreon] fix pagination (#444)
The Patreon-provided URLs for the next set of posts aren't
always complete, i.e. they can be missing their scheme and
the subsequent double slash: "www.patreon.com/…"
2019-10-12 22:30:51 +02:00
Mike Fährmann
ff1e4a86aa release version 1.10.6 2019-10-11 20:15:56 +02:00
Mike Fährmann
8af59a4bba fix & update docs
- update Requests links
- add example for --exec
- set '-dev' version
2019-10-11 18:36:25 +02:00
Mike Fährmann
fabdc3b0c6 release version 1.10.5 2019-09-28 22:13:41 +02:00
Mike Fährmann
6e12907de6 [deviantart] improve handling of private deviations (#414)
- don't try to call '/deviation/metadata' with an empty list of
  deviation ids
- print a warning when detecting private deviations without having
  a 'refresh-token'
2019-09-10 16:09:03 +02:00
Mike Fährmann
4203931d79 release version 1.10.4 2019-09-08 13:54:45 +02:00
Mike Fährmann
f02a768b5c [danbooru] add 'ugoira' option (#406)
to choose between ZIP archives or converted video files
for Ugoira posts
2019-08-31 21:51:52 +02:00
Mike Fährmann
9646ccb320 release version 1.10.3 2019-08-30 19:41:16 +02:00
Mike Fährmann
5cc7be2536 [piczel] update and improve
- use proper pagination (fixes #396)
- update API host and endpoints
- "fix" double slash // in image URLs
2019-08-24 20:37:33 +02:00
Mike Fährmann
0c1c7abb4d release version 1.10.2 2019-08-23 22:10:54 +02:00
Mike Fährmann
64b2935d8e [pixiv] provide 'filename' and change default filename format
to '{filename}.{extension}' (closes #366)
2019-08-02 22:35:10 +02:00
Mike Fährmann
2f33bac030 release version 1.10.1 2019-08-02 21:23:06 +02:00
Mike Fährmann
fa60109e97 [exhentai] don't use e-hentai.org for exhentai URLs 2019-08-02 21:10:09 +02:00
Mike Fährmann
dfe552421b release version 1.10.0 2019-08-01 23:22:58 +02:00
Mike Fährmann
a8b60b2bd9 change default cache directory for unix systems
Use either $XDG_CACHE_HOME or ~/.cache (if the former isn't set)
and store potentially sensitive cookies and tokens in a user's
home directory and not in the world-readable /tmp.
2019-07-31 22:56:14 +02:00
Mike Fährmann
3fe5ccdfa6 [adultempire] add gallery extractor (closes #340) 2019-07-21 22:29:57 +02:00
Mike Fährmann
b3851e01d9 release version 1.9.0 2019-07-19 21:55:25 +02:00
Mike Fährmann
40da44b17f Merge branch 'v1.9.0' 2019-06-29 15:39:52 +02:00
Mike Fährmann
9a216a6c6c release version 1.8.7 2019-06-28 21:04:00 +02:00
Mike Fährmann
b171befa87 implement 'parse_unicode_escapes()' 2019-06-16 21:47:24 +02:00
Mike Fährmann
3a36a0fa1e release version 1.8.6 2019-06-14 21:11:58 +02:00
Mike Fährmann
95b4a53b9c [keenspot] improve pagination (#223)
The old code would skip the last comic page for some series.
2019-06-02 22:12:21 +02:00
Mike Fährmann
12c965d547 release version 1.8.5 2019-06-01 20:57:55 +02:00
Mike Fährmann
efa805c5d7 [sankaku] update pagination end condition (fixes #265)
Pagination over popular listings (`date:...+order:popular") never
terminates, not even on the site itself, and at some point returns the
same results over and over again.
2019-05-20 15:46:06 +02:00
Mike Fährmann
d514d49c72 release version 1.8.4 2019-05-17 23:52:09 +02:00
Mike Fährmann
51e0e92429 [deviantart] fix GIF downloads (#242)
The "original" download URL for GIF animations is only a preview version
of the original file.
2019-05-08 15:43:43 +02:00
Mike Fährmann
26b516b328 release version 1.8.3 2019-05-04 22:50:00 +02:00
Mike Fährmann
0b2ff406f6 [plurk] add timeline- and post-extractors (#212) 2019-04-14 21:48:38 +02:00
Mike Fährmann
dcd1bd3b6f release version 1.8.2 2019-04-12 10:38:51 +02:00
Mike Fährmann
ec88ff1562 [flickr] relax unit test results
Images are now randomly served from the 'live.staticflickr.com' domain
instead of the "old" 'farmN.staticflickr.com' one, making it impossible
to use static 'url' and 'keyword' hashes as results.

Image quality doesn't appear to be effected by which image-server is
used. Files from 'farmN' and 'live' are the same.
2019-03-30 18:31:59 +01:00
Mike Fährmann
bc2020e86c release version 1.8.1 2019-03-29 17:37:11 +01:00
Mike Fährmann
fb14f80d62 [tumblr] fix avatar URLs for non-OAuth1.0 calls (closes #193) 2019-03-17 11:07:22 +01:00
Mike Fährmann
8c20443839 release version 1.8.0 2019-03-15 15:27:11 +01:00
Mike Fährmann
bc0951d974 allow for simplified test data structures
Instead of a strict list of (URL, RESULTS)-tuples, extractor result
tests can now be a single (URL, RESULTS)-tuple, if it's just one test,
and "only matching" tests can now be a simple string.
2019-02-06 17:24:44 +01:00
Mike Fährmann
b49c3c9991 release version 1.7.0 2019-02-05 16:31:39 +01:00
Mike Fährmann
b8fed34548 add generalized extractors for Mastodon instances (#144)
Extractors for Mastodon instances can now be dynamically generated,
based on the instance names in the 'extractor.mastodon.*' config path.

Example:
{
    "extractor": {
        "mastodon": {
            "pawoo.net": { ... },
            "mastodon.xyz": { ... },
            "tabletop.social": { ... },
            ...
        }
    }
}

Each entry requires an 'access-token' value, which can be generated with
'gallery-dl oauth:mastodon:<instance URL>'.
An 'access-token' (as well as a 'client-id' and 'client-secret') for
pawoo.net is always available, but can be overwritten as necessary.
2019-01-19 14:28:59 +01:00
Mike Fährmann
4b441c162e release version 1.6.3 2019-01-18 12:31:04 +01:00