Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid URL? #3

Open
4chana opened this issue Aug 19, 2024 · 0 comments
Open

invalid URL? #3

4chana opened this issue Aug 19, 2024 · 0 comments

Comments

@4chana
Copy link

4chana commented Aug 19, 2024

i'm a total novice at this so i apologize if this has a simple answer, i keep getting "[ERR_INVALID_URL]" and can't figure out how to fix it:

Node.js v20.16.0
Myname-MacBook-Pro:plex-letterboxd myname$ node ./index.js --ip my.ip.address --username myname /Users/myname/Desktop/letterboxd.txt
Processing list "https://letterboxd.com/dave/list/official-top-250-narrative-feature-films/"
Failed processing list "https://letterboxd.com/dave/list/official-top-250-narrative-feature-films/": Invalid URL
TypeError [ERR_INVALID_URL]: Invalid URL
    at Url.parse (node:url:416:17)
    at Object.urlParse [as parse] (node:url:141:13)
    at PlexAPI._request (/Users/myname/plex-letterboxd/node_modules/plex-api/lib/api.js:176:18)
    at PlexAPI.query (/Users/myname/plex-letterboxd/node_modules/plex-api/lib/api.js:72:17)
    at processList (file:///Users/myname/plex-letterboxd/index.js:68:46)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async run (file:///Users/myname/plex-letterboxd/index.js:148:4) {
  code: 'ERR_INVALID_URL',
  input: 'http://myipaddress :32400/'
}

tried with different list URLs in the txt file and am getting the same results every time. any advice? thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant