Closed Vacreio closed 10 months ago
i updated the code right now download and this error is caused cuz you havent change the download location,
open : downloadlocation.json in that paste where you wanna download your anime.
if you dont get it watch the video below
Im still getting that error. I have def updated the download location?
Okay, so I changed the \s to/s like in the video, and it moved on, asked for which Naruto I wanted to download, I selected option 1, and then I got this long error:
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ in _run_module_as_main:198 │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ alterargv = False │ │
│ │ code = <code object httpx.request
. │
│ 1044 │ │ """ │
│ ❱ 1045 │ │ return self.request( │
│ 1046 │ │ │ "GET", │
│ 1047 │ │ │ url, │
│ 1048 │ │ │ params=params, │
│ │
│ ╭───────────────────────────────────── locals ─────────────────────────────────────╮ │
│ │ auth = <httpx._client.UseClientDefault object at 0x0000022110950850> │ │
│ │ cookies = None │ │
│ │ extensions = None │ │
│ │ follow_redirects = <httpx._client.UseClientDefault object at 0x0000022110950850> │ │
│ │ headers = None │ │
│ │ params = None │ │
│ │ self = <httpx.Client object at 0x0000022111469690> │ │
│ │ timeout = <httpx._client.UseClientDefault object at 0x0000022110950850> │ │
│ │ url = '#' │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ C:\Users\sunan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCa │
│ che\local-packages\Python311\site-packages\httpx_client.py:808 in request │
│ │
│ 805 │ │ │ ) │
│ 806 │ │ │ warnings.warn(message, DeprecationWarning) │
│ 807 │ │ │
│ ❱ 808 │ │ request = self.build_request( │
│ 809 │ │ │ method=method, │
│ 810 │ │ │ url=url, │
│ 811 │ │ │ content=content, │
│ │
│ ╭───────────────────────────────────── locals ─────────────────────────────────────╮ │
│ │ auth = <httpx._client.UseClientDefault object at 0x0000022110950850> │ │
│ │ content = None │ │
│ │ cookies = None │ │
│ │ data = None │ │
│ │ extensions = None │ │
│ │ files = None │ │
│ │ follow_redirects = <httpx._client.UseClientDefault object at 0x0000022110950850> │ │
│ │ headers = None │ │
│ │ json = None │ │
│ │ method = 'GET' │ │
│ │ params = None │ │
│ │ self = <httpx.Client object at 0x0000022111469690> │ │
│ │ timeout = <httpx._client.UseClientDefault object at 0x0000022110950850> │ │
│ │ url = '#' │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ C:\Users\sunan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCa │
│ che\local-packages\Python311\site-packages\httpx_client.py:360 in build_request │
│ │
│ 357 │ │ │ │ else Timeout(timeout) │
│ 358 │ │ │ ) │
│ 359 │ │ │ extensions = dict(**extensions, timeout=timeout.as_dict()) │
│ ❱ 360 │ │ return Request( │
│ 361 │ │ │ method, │
│ 362 │ │ │ url, │
│ 363 │ │ │ content=content, │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ content = None │ │
│ │ cookies = <Cookies[<Cookie ddg2_=YW5pbWRsX3NheXNfaGkNCg. for .marin.moe />, <Cookie │ │
│ │ XSRF-TOKEN=eyJpdiI6Ii9CajlJMkRXZGxXQk8zUVZxY25UNkE9PSIsInZhbHVlIjoiTHVyenlNeFE… │ │
│ │ for animepahe.ru />, <Cookie │ │
│ │ laravel_session=eyJpdiI6IlZnZGhpRlJSSWdqaEdzRjdOQis2aGc9PSIsInZhbHVlIjoiSHIxMF… │ │
│ │ for animepahe.ru />, Request
. │
│ 1043 │ │ """ │
│ ❱ 1044 │ │ urllib_request = self._CookieCompatRequest(request) │
│ 1045 │ │ self.jar.add_cookie_header(urllib_request) │
│ 1046 │ │
│ 1047 │ def set(self, name: str, value: str, domain: str = "", path: str = "/") -> None: │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ request = <Request('GET', '/')> │ │
│ │ self = <Cookies[<Cookie _ddg2=YW5pbWRsX3NheXNfaGkNCg. for .marin.moe />, <Cookie │ │
│ │ XSRF-TOKEN=eyJpdiI6Ii9CajlJMkRXZGxXQk8zUVZxY25UNkE9PSIsInZhbHVlIjoiTHVyenlNeFE4OT… │ │
│ │ for animepahe.ru />, <Cookie │ │
│ │ laravel_session=eyJpdiI6IlZnZGhpRlJSSWdqaEdzRjdOQis2aGc9PSIsInZhbHVlIjoiSHIxMFIvV… │ │
│ │ for animepahe.ru />,
C:\Users\sunan\ANIME>
Also I cannot find "Config.json"
delete your current code and install the fresh one by :
Download zip and extract the files then edit the config.json by refering https://github.com/Incredibleflamer/anime-batch-downloader
@Vacreio i have re worked on this downloader and update it to latest version also it doesnt works on python anymore sorry about that , you need to have node js in your machine Link to node js : https://nodejs.org/en
one more thing its a bit fast then the old versions
Im getting this error and im stupid so I have no idea what to do