-
Notifications
You must be signed in to change notification settings - Fork 84
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
Not returning anything? #121
Comments
Same here.. |
Works for me as usual. Maybe IMDb blocked your ip addresses? |
Actually, I open imdb from time to time but most of the time I just get this .. We're sorry, something went wrong. I have noticed that not only this script doesn't work normally, PHP-IMDB-Grabber have the same problem here is the closed ticket |
Doesn't sound like an issue of imdbphp for me. |
I'm afraid I can't replicate this problem at this time. It works great with the demo application and utilized in another application. Please activate the debug mode if your problem still exists. $config = new \Imdb\Config();
$config->debug = 1;
$movie = new \Imdb\Title(0360486,$config); |
Still the same on my end. I tried accessing it through a browser running from my server and it did work fine, but the script won't do anything. Wasn't sure if there was some change on their side that broke it. [debug] [Page] Requesting [http://www.imdb.com/title/tt6772950/]
|
GeorgeFive, after twenty minutes, try open imdb.com again if it loads open imdbphp search some movie, then when you see the error try to open imdb again with a browser. I always get the IMDb - D'oh error after using imdbphp, I think imdb are blocking the script when it makes a connection. |
Yep, same thing. Script won't work, then the D'oh error in the browser. |
Can't really be sure be sure but IMDb have switched to https and all links inside imdbphp points towards http. |
I can confirm one more not working script on one my friend. So it's not an isolated problem, also as I can see the PHP-IMDB-Grabber was having the same issue, didn't know how the https solve the things. |
Failing on both of them for me too, but it's been more than 10-20 minutes for me.... hasn't worked at all in two days now, |
If it's not working with the https patches that PHP-IMDB-Grabber added (in version 3.0.8), then I'm afraid that solution won't work here too. And IMDb have blocked scraping from your area. You can try to set $config->ip_address (use_proxy turned off) based on a UK proxy IP-address or connect entirely with a proxy.
|
Do you know how long the blocks usually last? He mentioned 10-20 minutes for him, which isn't the case for me, but... I can just wait it out if need be, I just use imdb as extra data on my site, it's not killing anything to lose it for a bit. I'll try the proxy when I get home tonight, gotta go to work. Just fill in the ip_address option? |
Request only over https; skip IMDb 302 Found.
I'm afraid I don't know how long you get blocked. Haven't happen to me before. Yes you fill it in like so: $config = new \Imdb\Config();
$config->ip_address = '127.0.0.1'; // Change into a proxy ip
$movie = new \Imdb\Title(0360486,$config); |
I can confirm that with a proxy is running fine and our networks are maybe blacklisted. Not totally but blacklisted. |
Ok, all is working fine now. The blocks last about fifteen minutes. I think it was an issue with the https, because I noticed in the logs that it was redirecting from http to https in very rapid succession. I would imagine that imdb catches that and issues a temporary block on the IP. Without the https, even loading something from the demo would rapidly shoot out the redirects. After, it works as expected. |
Hi there. Been using the script for ages, and it was working fine up until last night. Now it doesn't return anything.... no data whatsoever. I'm away from my PC right now so I can't give the exact error, but basically it said that it failed to retrieve the URL.
I've double checked that I have the updated version, and I do. I even redownloaded it and tried the demo included with it. Nothing.
If it's not an issue with imdb, is there something on my server to check that may have somehow changed behind my back?
The text was updated successfully, but these errors were encountered: