Page 1 of 1

Anchira.to downloads stopped working

Posted: Sat Apr 20, 2024 3:13 am
by Boltblite
I had a list of chapters to download from Anchira.to that stopped part way. It did managed to download a couple chapters, then it started getting an error on the rest. It said there was a page collection error. I did another test to get a log.

Code: Select all

21:48:11 hdoujin dow [i] CLR Version: 4.0.30319.42000
21:48:11 hdoujin dow [i] Framework Version: 4.8.9232.0
21:48:11 hdoujin dow [i] OS Version: Microsoft Windows NT 10.0.19045.0 (64-bit)
21:48:11 hdoujin dow [i] Locale: en-US
21:48:11 hdoujin dow [i] Path: MiscPrograms\HDoujin.Downloader-latest-win\HDoujin Downloader.exe
21:48:11 hdoujin dow [i] Working Directory: MiscPrograms\HDoujin.Downloader-latest-win
21:48:11 hdoujin dow [i] Timestamp: 4/19/2024 9:48:11 PM
21:48:11 hdoujin dow [i] Product Version: 2024.3.25
21:48:11 hdoujin dow [i] Available Security Protocols: SSL 3.0, TLS 1.0, TLS 1.1, TLS 1.2
21:48:11 hdoujin dow [i] Standalone: False
21:48:11 hdoujin dow [i] Repositories: Internal
21:48:11 hdoujin dow [i] Theme: Default
21:48:11 config      [i] applying user settings
21:48:11 config      [i] reading download queue
21:48:11 config      [i] applying general settings
21:48:11 config      [i] applying chapters settings
21:48:11 config      [i] applying conversion settings
21:48:11 config      [i] applying metadata settings
21:48:11 config      [i] applying download settings
21:48:11 config      [i] applying accessibility settings
21:48:11 config      [i] applying updater settings
21:48:11 config      [i] applying chapter selection settings
21:48:11 config      [i] applying site-specific settings
21:48:11 config      [i] applying scheduler settings
21:48:11 config      [i] applying login settings
21:48:11 config      [i] reading bookmarks
21:48:11 config      [i] applying bookmarks settings
21:48:11 config      [i] initializing panels
21:48:11 config      [i] applying remaining settings
21:48:11 config      [i] loading download queue columns
21:48:11 config      [!] WinRAR is not installed
21:48:11 config      [i] finished applying settings
21:48:11 init        [i] registering external module repositories
21:48:11 init        [i] registering external module repository "Official Lua Repository"
21:48:11 init        [i] loading external modules from repository "Official Lua Repository"
21:48:11 official lu [i] Reading metadata cache from modules\Lua\metadata.json
21:48:11 official lu [i] Saving metadata cache
21:48:11 repositorie [i] Synchronizing repositories
21:48:11 repositorie [i] Synchronizing repository "Official Lua Repository"
21:48:11 official lu [i] Synchronizing repository "Official Lua Repository"
21:48:11 metadata re [i] Reading metadata from remote repository: https://github.com/HDoujinDownloader/HDoujin-Downloader/tree/master/modules/lua/
21:48:11 updater     [i] checking for updates in the background
21:48:11 metadata re [i] Reading metadata from GitHub repository (file-list): https://github.com/HDoujinDownloader/HDoujin-Downloader/tree/master/modules/lua/
21:48:11 init        [i] finished initialization
21:48:12 metadata re [i] Found 256 scripts
21:48:12 official lu [i] Reading metadata cache from modules\Lua\metadata.json
21:48:12 official lu [i] Saving metadata cache
21:48:12 official lu [i] Reading metadata cache from modules\Lua\metadata.json
21:48:12 official lu [i] Saving metadata cache
21:48:12 repositorie [i] Finished synchronizing repository "Official Lua Repository"
21:48:12 repositorie [i] Finished synchronizing repositories
21:48:22 hdoujinhttp [!] A custom user agent has been set, so user agent randomization has been disabled.
21:48:22 hdoujinchal [i] Using FlareSolverrChallengeHandler
21:48:22 flaresolver [i] Starting FlareSolverr process
21:48:22 flaresolver [i] Starting FlareSolverr process
21:48:22 flaresolver [i] FlareSolverr 3.3.17
21:48:22 flaresolver [i] Testing web browser installation...
21:48:22 flaresolver [i] Platform: Windows-10-10.0.19045-SP0
21:48:22 flaresolver [i] Chrome / Chromium path: D:\MiscPrograms\HDoujin.Downloader-latest-win\plugins\flaresolverr_windows_x64\flaresolverr\chrome\chrome.exe
21:48:22 flaresolver [i] Chrome / Chromium major version: 123
21:48:22 flaresolver [i] Launching web browser...
21:48:26 flaresolver [i] FlareSolverr User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
21:48:26 flaresolver [i] Test successful!
21:48:26 flaresolver [i] Serving on http://0.0.0.0:8191
21:48:27 flaresolver [i] FlareSolverr is now listening on port 8191
21:48:27 flaresolver [i] Creating a new session
21:48:29 flaresolver [i] Incoming request => POST /v1 body: {'cmd': 'sessions.create', 'download': False, 'maxTimeout': 60000, 'headers': {}, 'cookies': [], 'returnOnlyCookies': False}
21:48:29 flaresolver [!] Request parameter 'headers' was removed in FlareSolverr v2.
21:48:30 flaresolver [i] Response in 0.584 s
21:48:30 flaresolver [i] 127.0.0.1 POST http://localhost:8191/v1 200 OK
21:48:30 flaresolver [i] Created session with ID 780a7f33-fec0-11ee-bdf5-ac50dee30ce8
21:48:30 flaresolver [i] Incoming request => POST /v1 body: {'cmd': 'request.get', 'download': True, 'url': 'https://anchira.to/api/v1/library/11060/fa467b47fad0/data', 'maxTimeout': 100000, 'headers': {'Accept-Language': 'en-US,en;q=0.9', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Referer': 'https://anchira.to/g/11060/fa467b47fad0', 'X-Requested-With': 'XMLHttpRequest', 'Connection': 'Keep-Alive'}, 'cookies': [], 'session': '780a7f33-fec0-11ee-bdf5-ac50dee30ce8', 'returnOnlyCookies': False}
21:48:30 flaresolver [!] Request parameter 'headers' was removed in FlareSolverr v2.
21:48:30 flaresolver [!] Request parameter 'download' was removed in FlareSolverr v2.
21:48:30 flaresolver [i] Challenge not detected!
21:48:30 flaresolver [i] Response in 0.659 s
21:48:30 flaresolver [i] 127.0.0.1 POST http://localhost:8191/v1 200 OK
21:48:30 flaresolver [i] Got response with status: Ok
21:48:30 page grabbe [x] Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
   at _q9r6nRJwen9YnurnWpXCHjAB3gC._vt775j1qa9beSMmCaXXKwoW0PwC(IEnumerable`1 , _XeMwTipI9eKUadrfL1vmo2Nc7yP , _lVKipORwtAx8v9LaNaTr6FYzFEB )
   at _qYJayOJOS1m9HoHULYr2rZaSfeG._FIXsbjNihh0eL3fEyTbcJL4v8bsA(String& )

Re: Anchira.to downloads stopped working

Posted: Mon Apr 22, 2024 5:18 am
by Squidy
I think this is happening because it's encountering a captcha when trying to access the API. This can happen after you download a couple of galleries: Downloading from Anchira

You'll need to open the online reader in your browser and solve the captcha there, and after that you should be able to resume downloading for a while. I know it's not super convenient, but because the check occurs server side there's no easy way to avoid it.