mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.9k stars 976 forks source link

Fantia downloader not downloading anything from post or fanclub. #1965

Closed amackenzie closed 3 years ago

amackenzie commented 3 years ago

When running gallery-dl -v "https://fantia.jp/posts/1234" (post number is replaced with 1234 for this example), I get the following:

[gallery-dl][debug] Python 3.10.0 - Windows-10-10.0.19043-SP0
[gallery-dl][debug] requests 2.26.0 - urllib3 1.26.7
[gallery-dl][debug] Starting DownloadJob for 'https://fantia.jp/posts/1234'
[fantia][debug] Using FantiaPostExtractor for 'https://fantia.jp/posts/1234'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): fantia.jp:443
[urllib3.connectionpool][debug] https://fantia.jp:443 "GET /api/v1/posts/1234 HTTP/1.1" 200 None

And nothing is downloaded. This happens on any post, and pointing it at a fanclub address (eg, https://fantia.jp/fanclubs/1234) just results in a series of 200 None responses like the above one, which implies that it's seeing the posts in the fanclub but just not grabbing them.

The fantia block in my config is as follows:

        {
            "cookies": "d:/dropbox/cookies.txt",
            "cookies-update": true,

            "directory": ["{category}", "{fanclub_name} ({fanclub_id})", "{post_id} - {post_title:.20}"]
        },

It worked a month or so ago, so there's probably something obvious I'm missing but I'm not sure where to look.

amackenzie commented 3 years ago

I'm gonna facepalm because it started working on its own again today, with no other changes. So I can only chalk it up to internet conditions or something...