[HU] Xpress.hu script not working
[HU] Xpress.hu script not working
Hello! xpress.hu script doesn't work Please help!
Nem működik az xpress.hu script, valaki tud segíteni?
Thanks
Kösz!
Nem működik az xpress.hu script, valaki tud segíteni?
Thanks
Kösz!
xpress.hu.ifs version 1.3:
http://www.bad4u.741.com/full/xpress.hu.ifs (copy link into a NEW browser window !)
Fixed:
- search results list (nothing found)
- director (missing on some films)
- country (showed some html code)
- year (missing)
I did some short tests, but please test yourself and let me know if there are more errors - some words/values on hungarian websites are not that easy to identify for me.
@antp: The script could be uploaded, even if there have not been many tests yet - as the old one does not run at all
http://www.bad4u.741.com/full/xpress.hu.ifs (copy link into a NEW browser window !)
Fixed:
- search results list (nothing found)
- director (missing on some films)
- country (showed some html code)
- year (missing)
I did some short tests, but please test yourself and let me know if there are more errors - some words/values on hungarian websites are not that easy to identify for me.
@antp: The script could be uploaded, even if there have not been many tests yet - as the old one does not run at all
You are right, but neither the current script does nor the previous version had a function to show multiple result pages.pamp wrote:Bad4u! It's work, but more hits it shows only first page.
Maybe xpress.hu lowered the number of films they show on the "standard" results page ? You can change this behaviour if you add a &MAXDB=100 (for a max of 100 instead of 15 films) to the search address line :
Code: Select all
AnalyzePage('http://www.xpress.hu/dvd/keres.asp?keres='+AddHTML(MovieName)+'&VID=12219327439007175&GOMB=1');
Code: Select all
AnalyzePage('http://www.xpress.hu/dvd/keres.asp?keres='+AddHTML(MovieName)+'&VID=12219327439007175&GOMB=1&MAXDB=100');
So here is the promised update to version 1.3.2:
http://www.bad4u.741.com/full/xpress.hu.ifs (copy link into a NEW browser window !)
Fixed:
- enlarged results list (a max of 100 instead of 15 titles)
- original title and year added to results list (were still missing)
If something is still missing, please let me know.
http://www.bad4u.741.com/full/xpress.hu.ifs (copy link into a NEW browser window !)
Fixed:
- enlarged results list (a max of 100 instead of 15 titles)
- original title and year added to results list (were still missing)
If something is still missing, please let me know.
Still working fine here..
Make sure you have downloaded latest version 1.3.2 using "Update_Scripts" or manually from http://update.antp.be/amc/scripts/ . You can find your current version when you select the script on the scripts list and look on the left bottom corner.
If you have latest version make sure you can reach xpress.hu with your browser. There might also be problems if you installed some kind of antivirus/firewall software, that blocks AMC (to check this, try other scripts).
Make sure you have downloaded latest version 1.3.2 using "Update_Scripts" or manually from http://update.antp.be/amc/scripts/ . You can find your current version when you select the script on the scripts list and look on the left bottom corner.
If you have latest version make sure you can reach xpress.hu with your browser. There might also be problems if you installed some kind of antivirus/firewall software, that blocks AMC (to check this, try other scripts).
I've got the latest version, I can reach the webpage. If I tried with the original version included in the install, it reported that no movies were found. But now nothing. I can use another scripts so its probably not my firewall.bad4u wrote:Still working fine here..
Make sure you have downloaded latest version 1.3.2 using "Update_Scripts" or manually from http://update.antp.be/amc/scripts/ . You can find your current version when you select the script on the scripts list and look on the left bottom corner.
If you have latest version make sure you can reach xpress.hu with your browser. There might also be problems if you installed some kind of antivirus/firewall software, that blocks AMC (to check this, try other scripts).
What else can be the problem?
Please try this version:
http://www.bad4u.741.com/beta/xpress.hu_132b.ifs (copy link into a NEW browser window !)
I've modified the search line a little bit in this version.
Btw.. have you tried different films or is it only one film ?
http://www.bad4u.741.com/beta/xpress.hu_132b.ifs (copy link into a NEW browser window !)
I've modified the search line a little bit in this version.
Btw.. have you tried different films or is it only one film ?
Thx, it isn't better. I tried so many films:(bad4u wrote:Please try this version:
http://www.bad4u.741.com/beta/xpress.hu_132b.ifs (copy link into a NEW browser window !)
I've modified the search line a little bit in this version.
Btw.. have you tried different films or is it only one film ?
After typing in the film name a window pop-up to resolve name->done-> downloading something and the window disappears and nothing happens, but in the window I can see that the script is still running.
Strange..
I'd like to know what's going wrong, but as I cannot reproduce this problem, I can just give some more ideas what to try..
1. Backup your catalogs and reinstall AMC. There are some postings on the forum, where a problem could not be explained until a new installation of AMC solved it. But it's just a try..
2. This might cost you some minutes: Try to locate the problem more precise.
Go to the scripts list, select xpress.hu and then hit editor button. Now set breakpoints on all lines. To do this click on the left side before every line number, the line should turn red then. When you turned all lines red, hit the run button on the menu. Now the script starts, but it will stop on every line until you hit run again. Some parts of the script might be repeated (like "function RemoveHTML") , you can delete these breakpoints after first run to speed up testing. Try to find the line where it hangs and does not switch to a new line number, a small green arrow shows which line the script is running. Maybe you can tell which line/part of the script hangs up then.
Btw.. are you using XP or Vista ?
I'd like to know what's going wrong, but as I cannot reproduce this problem, I can just give some more ideas what to try..
1. Backup your catalogs and reinstall AMC. There are some postings on the forum, where a problem could not be explained until a new installation of AMC solved it. But it's just a try..
2. This might cost you some minutes: Try to locate the problem more precise.
Go to the scripts list, select xpress.hu and then hit editor button. Now set breakpoints on all lines. To do this click on the left side before every line number, the line should turn red then. When you turned all lines red, hit the run button on the menu. Now the script starts, but it will stop on every line until you hit run again. Some parts of the script might be repeated (like "function RemoveHTML") , you can delete these breakpoints after first run to speed up testing. Try to find the line where it hangs and does not switch to a new line number, a small green arrow shows which line the script is running. Maybe you can tell which line/part of the script hangs up then.
Btw.. are you using XP or Vista ?
Ok, I tried it:
procedure AddMoviesTitles(Page: TStringList; var LineNr: Integer);
var
Line: string;
MovieTitle, MovieAddress,OTitle: string;
StartPos: Integer;
begin
repeat
LineNr := LineNr + 1;
Line := Page.GetString(LineNr);
StartPos := pos('0000" size="2">', Line);
if StartPos > 0 then
Here it enters in an endless loop.
I'm using Vista x64.
procedure AddMoviesTitles(Page: TStringList; var LineNr: Integer);
var
Line: string;
MovieTitle, MovieAddress,OTitle: string;
StartPos: Integer;
begin
repeat
LineNr := LineNr + 1;
Line := Page.GetString(LineNr);
StartPos := pos('0000" size="2">', Line);
if StartPos > 0 then
Here it enters in an endless loop.
I'm using Vista x64.
Sooo.. I did some tests on this part of the script and nothings going wrong here (on XP). Hard to imagine it should be caused by the script ..
Maybe someone else could verify that it is NOT a Vista or Vista 64 problem ?
@Begi: Please do one more test using this modified script :
http://www.bad4u.741.com/beta/xpress.hu_debug.ifs (copy link into a NEW browser window !)
This script will save the files debug.txt and debugpage.txt to scripts folder. If Vista blocks AMC writing to this folder, simply change the variable "SavePath" at the beginning of the script (i.e. SavePath = 'D:\'; ) to a path programs have write access on. Please send me these two files via private message or - better - mail (see private message). I just want to know what the problem is about.. Thanks !
Maybe someone else could verify that it is NOT a Vista or Vista 64 problem ?
@Begi: Please do one more test using this modified script :
http://www.bad4u.741.com/beta/xpress.hu_debug.ifs (copy link into a NEW browser window !)
This script will save the files debug.txt and debugpage.txt to scripts folder. If Vista blocks AMC writing to this folder, simply change the variable "SavePath" at the beginning of the script (i.e. SavePath = 'D:\'; ) to a path programs have write access on. Please send me these two files via private message or - better - mail (see private message). I just want to know what the problem is about.. Thanks !
bad4u wrote:Yeah, that's why I'd like to see the debug textfiles, so that I can compare them to my own ones. It would be of special interest, if it should be a Vista/64 problem, cause then it could affect other scripts, too
See private msg pls.
It is very strange that I can browse that page and everything is ok. Anyway not all the scripts are working. For examle netpiac.hu script is working, but filmzona.hu isn't. Port.hu scripts only find the first title. So it seems to be a firewall issue, but why netpiac.hu working correctly and the other isn't?
After some private messages we solved the problem.
It seems that on Vista X64 you need to set compatibility mode for AMC (rightclick on moviecatalog.exe -> properties -> compatibility mode 2000/XP) to get a correct import for all scripts. Without compatibility mode probably only scripts that do not use FindLine function on TStringLists will work. This should affect other scripts running on Vista X64 too.
If another Vista X64 user (and maybe a Vista 32 user) could verify this, it would be a great help. Just download the debug script from http://www.bad4u.741.com/beta/xpress.hu_debug.ifs (copy link into a NEW browser window !), run it once without compatibility mode (i.e. search for matrix), go to the scripts folder and send me the contents of the file debug.txt and debugpage.txt via private message. Then run it once with compatibility mode set, and send me the files again, please.
I tested on Vista PE and found no problem, as far as I know it is based on Vista 32 kernel. Antoine, you will get more infos via private message.
Thanks to Begi for your help so far !
It seems that on Vista X64 you need to set compatibility mode for AMC (rightclick on moviecatalog.exe -> properties -> compatibility mode 2000/XP) to get a correct import for all scripts. Without compatibility mode probably only scripts that do not use FindLine function on TStringLists will work. This should affect other scripts running on Vista X64 too.
If another Vista X64 user (and maybe a Vista 32 user) could verify this, it would be a great help. Just download the debug script from http://www.bad4u.741.com/beta/xpress.hu_debug.ifs (copy link into a NEW browser window !), run it once without compatibility mode (i.e. search for matrix), go to the scripts folder and send me the contents of the file debug.txt and debugpage.txt via private message. Then run it once with compatibility mode set, and send me the files again, please.
I tested on Vista PE and found no problem, as far as I know it is based on Vista 32 kernel. Antoine, you will get more infos via private message.
Thanks to Begi for your help so far !