SpaceK33z / plex2netflix

See how much of your media from Plex is available on Netflix.
273 stars 23 forks source link

failed request (code: 400) #35

Open pven opened 5 years ago

pven commented 5 years ago

After the issue mentioned in https://github.com/SpaceK33z/plex2netflix/issues/34 is solved, I get a 'failed request (code: 400)' for all my entries.

Is it me?

igrschmidt commented 5 years ago

It's not only you! Just installed and I'm getting failed request (code:400) for every title

ianiver9 commented 5 years ago

Same problem

YellowGTO commented 5 years ago

Same issue here :(

a214n commented 5 years ago

same here

2fst4u commented 5 years ago

Good to see it's not just me. Any word on this?

pven commented 5 years ago

Good to see it's not just me. Any word on this?

I mailed the developer. But he already told me this is a personal low prio project. Just fingers crossed, and hope he has time to look at it.

Ed-Savill commented 5 years ago

I also got this error code. Has there been a solution to this?

pven commented 5 years ago

I also got this error code. Has there been a solution to this?

Nope ...

jameshost commented 5 years ago

Also getting this error.

peppeGb commented 5 years ago

Same issue here :(

turkeyphant commented 5 years ago

Same issue.

reypm commented 5 years ago

one more .... same issue

chdrummer commented 5 years ago

same here lol

jorjenava commented 5 years ago

I am also experiencing this issue.

herbi3 commented 5 years ago

¯_(ツ)_/¯

Frigorio commented 5 years ago

Did you have the same warn during installation?

pi@rpi2b:~ $ sudo npm install -g plex2netflix
npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
/usr/bin/plex2netflix -> /usr/lib/node_modules/plex2netflix/lib/cli.js
+ plex2netflix@0.5.4
added 175 packages from 142 contributors in 121.098s
G0dless85 commented 5 years ago

I'm also experiencing the same issue I'm getting the following warns:

plex2netflix-master>npm install -g plex2netflix npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues. npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues. npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).

diblaze commented 5 years ago

The reason it fails is because the API has changed. The server from the same author (that does the API lookup towards "unogs") has not been updated for the new API as far as I can see.

The API it is trying to hit is http://unogs.com/imdbtitle.cgi, found in this file.

I wanted to fix this, but the API requires a Credit Card to use. The reasoning is if the API is hit for more than 500 times, then it will charge a "small" amount of USD per hit that is over the limit. And I am not willing to give my CC info to such service.

Alternative would be to scrape the "unogs" site for results, but obviously requires more work and possibly will be frowned upon as this service would then bypass the paying part.

If I have misunderstood, or missed something - feel free to reply!

wallopthecat commented 4 years ago

https://rapidapi.com/unogs/api/unogs is the new api, not sure it is worth a PR or not

Doctortim commented 4 years ago

https://rapidapi.com/unogs/api/unogs is the new api, not sure it is worth a PR or not

The script unogs.js isn't in my clone. I added it and changed the api to https://rapidapi.com/unogs/api/unogs. Unsurprisingly it failed. Is there a newb friendly way to incorporate the change above?

Hmmm, it looks like you're limited to 100/day for $.1 each. 1 month of 30,000 hits is $10. I would consider doing this once to clean my plex library, but I'm not sure how to point to the api to facilitate things.

robintate commented 4 years ago

Any alternatives to an API? Would there be an AWS solution that may be cheaper or something?