473,809 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IMDB fetch with PowermovieList Hangs for exact matches

Anyone use PowerMovielist here? I have the 0.14 beta version.
Do you have a problem where some shows you search for cause the fetch to hang ? I'm pulling my hair out on this..
For example, I search for Funky, and it comes up with all the hits.. I search for Funky Phantom, and it hangs for whatever
amount of seconds i have the script maximum execution time set to, then i get this error Fatal error: Maximum execution
time of 30 seconds exceeded in fetch.php on line 167
When i try it on my shared webhost, instead it gives me a Page cannot be displayed and i then have to wait almost a minute
before i can access the site again.
If you use PowerMovieList, test with Funky Phantom and if it works.. please share your fetch script with me!!
If I search for Funky%Phantom it works too. But other shows that are multiple words, i can put spaces in fine
so.. i think where its hanging is on the redirect when its an exact match.. IMDB does a 302 redirect.
This is the code for exact matches:
//when you use the search-form on imdb.com and you search for a title that was exactly found
//imdb uses a 302-found-page to redirect to the Title-page of this movie.
//if this happens, we can use this imdb-id too
if(strstr($site , "HTTP/1.0 302") || strstr($site, "HTTP/1.1 302")) { //exact match?
$out .= $GLOBALS['strExactMatch'];
ereg('\/title\/tt([0-9]+)\/', $site, $x);
$this->FetchID = $x[1]; //save the id in $FetchID
return(PML_FETC H_EXACTMATCH); //return to editentry that it can fetch now the data - search is allready
done
but i can't figure out why it hangs. I have PHP5. I've tried it on a shared webhost, a dedicated server (which uses lighttpd
and php5), and i have it installed locally using xampp.. They all do the same thing... hang on exact matches. Is there some
PHP.ini setting that I need? I have magic quotes already set to OFF.

Rilly

--
--------------------------------- --- -- -
Posted with NewsLeecher v3.9 Beta 15
Web @ http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -

Jun 2 '08 #1
0 1894

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
2491
by: JD | last post by:
This is another Python problem, I think might be unrelated to the earlier bug I found, and eventually figured out how to report it to Sourceforge. This is related to a question I have about Python hanging up either from a shell, or by importing a module. This I would not consider a bug, but more on my inexperience with Python. If my code causes Python to just hang up, and not allowing me to break out with control-C or...
8
21131
by: Evan Smith | last post by:
During a routine performance check using an event monitor, I discovered a class of query whose performance has me baffled. The monitor captured: SELECT * FROM EWM_CASE fetch first 1 rows only It took 14 seconds of CPU time to execute. After looking up the documentation on the FETCH FIRST notation I find "Limiting the result table to the first integer rows can improve performance. The database
1
5546
by: Bruno | last post by:
Hi: Does anybody have or know where I can get some VB code that will import fields from Internet Movie DB (IMDb) Thanks in advance: Bruno
3
2707
by: Vidar Skjelanger | last post by:
I have a regex for matching VB6-functions, but it hangs on one specific function. The regex: ^(Public\s)?(Declare\s|Static\s)?(Function)\s(\S)+\(((Optional\s)?(ByVal\s|ByRef\s)?(ParamArray\s)?(\S)+(\sAs\s(\S)+)?(\s=\s(\S)+)?(\,\s)?)*\)(\sAs\s(\S)+)? The string on which it hangs: "Public Function FlaggAsOccupiedEx2(Pid As Long, UserName As String, Workstation As String, Optional IsReadOnly As Boolean = False,
0
266
by: psb | last post by:
I make a website for a company where sales reps from all over the country order literature. This is the 4th case where the exact same thing is happening in the almost the exact same setup -The website hangs. The user is able to login with username/password via a webpage with a form authentication. Once they are in the site, they can't do any more form submissions. It hangs if they try to add items to their cart and so on... They can...
5
2315
by: Loane Sharp | last post by:
Hi there I've got a hang of a problem ... I'm running the .NET framework (2.0.40903), SQL Server 2000 and SQL Express 2005 on Windows XP Pro on a pretty good and new IBM Thinkpad X41. Some time ago, following the advice in http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/codecompilation.asp, I used aspnet_compiler.exe to compile my application. Soon thereafter, every
3
2007
by: kdsutaia | last post by:
Hi! I want to fetch "name" as per the name of the journal. <JOURNAL> name </JOURNAL> name will be diff in diff files. I am reading file line by line and sending pattern <JOURNAL>()</JOURNAL> to match . it matches but it matches whole string. I want within ( ) bracket as in perl we can get by $1 variable. thanks in advance.
1
1982
by: =?Utf-8?B?TmFt?= | last post by:
ASP.NET 1.1.4322 Server1: Windows Server Enterprise Ed 2003 – SP2 Server2: Same as Server 1. IE 6.0 –SP2 After we migrated our website from server1 to server2 everything works fine accept for the following on one page: When you click on Save button, this page is supposed to copy a file from website-A to website-B and display a second webpage (that shows the message
4
2141
by: robin1983 | last post by:
Dear All, How are you doing? After a long time I am back again because I need help from you all expert. Please advise me, my queries is given below. I have a table with employee_name which contain the field name empFirstName, empLastName, empAges, empMinExp, empMaxExp, empCTC. Etc. The employee can only select only number with out any fraction value. Like 1, 2,3, 4,5 etc. So, the problem is that when I want to fetch result by parameter min...
0
9603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10640
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10387
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10120
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4332
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.