Skip to content
This repository was archived by the owner on Dec 29, 2025. It is now read-only.

invalid URL? #3

@4chana

Description

@4chana

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions