Git Product home page Git Product logo

Comments (7)

Ashish0804 avatar Ashish0804 commented on August 25, 2024

api_key and omdb api keys are dummy here.

from arrtools.

sirk123au avatar sirk123au commented on August 25, 2024

check you urlbase and baseurl are correct

from arrtools.

sirk123au avatar sirk123au commented on August 25, 2024

have you got any movies in radarr yet?

from arrtools.

Ashish0804 avatar Ashish0804 commented on August 25, 2024

check you urlbase and baseurl are correct

Hi
the baseurl is correct as i have tried the code with postman and i get 200 success code. As with urlbase, i don't have it enabled in the radarr settings so i have left it empty in the config.

from arrtools.

sirk123au avatar sirk123au commented on August 25, 2024

baseurl = localhost:7878/radarr this is wrong in the config it should be

baseurl = localhost:7878

I don't think it is receiving the correct data to parse

from arrtools.

Ashish0804 avatar Ashish0804 commented on August 25, 2024

localhost:7878

results in this

Traceback (most recent call last):
File "/home/ashish/miniconda3/lib/python3.7/site-packages/requests/models.py", line 380, in prepare_url
scheme, auth, host, port, path, query, fragment = parse_url(url)
File "/home/ashish/miniconda3/lib/python3.7/site-packages/urllib3/util/url.py", line 392, in parse_url
return six.raise_from(LocationParseError(source_url), None)
File "", line 3, in raise_from
urllib3.exceptions.LocationParseError: Failed to parse: http://localhost:7878; Include URL Base if you have it enabled/api/movie

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "radarr_add_from_list.py", line 236, in
main()
File "radarr_add_from_list.py", line 218, in main
rsp = requests.get(url , headers=headers)
File "/home/ashish/miniconda3/lib/python3.7/site-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/home/ashish/miniconda3/lib/python3.7/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/home/ashish/miniconda3/lib/python3.7/site-packages/requests/sessions.py", line 516, in request
prep = self.prepare_request(req)
File "/home/ashish/miniconda3/lib/python3.7/site-packages/requests/sessions.py", line 459, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File "/home/ashish/miniconda3/lib/python3.7/site-packages/requests/models.py", line 314, in prepare
self.prepare_url(url, params)
File "/home/ashish/miniconda3/lib/python3.7/site-packages/requests/models.py", line 382, in prepare_url
raise InvalidURL(*e.args)
requests.exceptions.InvalidURL: Failed to parse: http://localhost:7878; Include URL Base if you have it enabled/api/movie

from arrtools.

sirk123au avatar sirk123au commented on August 25, 2024

Can you try with ipaddress:port in your config

from arrtools.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.