Author |
Topic |
|
washandgo
Junior Member
Spain
257 Posts |
Posted - 11 Jun 2016 : 14:48:19
|
I need help with the script filmaffinity.com several strange things happen, when searching for a title with F6 if there is more than one link no problem, but if there is more than one link, no results. But when looking for the error in the MagicScript to correct the script, the MagicScript no results. I think it will look for the link to the web, (WebQuery) but do not know how to solve it.
Titulos to try: Beware the Blue Family (has only 1 link) Diablo (multiple link) |
|
JDommi
Administrator
Germany
4655 Posts |
Posted - 11 Jun 2016 : 17:32:50
|
3 problems... 1. Beware the Blue Family doesn't even find any result on the site itself 2. #CREATEMOVIELIST#: #FINDLINE#=<div class="mc-title"><a href="/es/film#12##ONERROR#=*STOP* <- <a href= 2 spaces!!! 3. #CREATEMOVIELIST#: #FIND#=.html"#13##ONERROR#=*OK* <- .html" without the >
Beside that #SETCURSOR#=1 is needless as #FINDLINE# automatically resets the cursor to the start position. Equivalent to that what's the need of #PUTCURSOR#?
As the new release of XMM can show the cover for each search result you can add it as additional parameter in #WRITETITLELIST# like: #WRITETITLELIST#=http://akas.imdb.com/#06# ---> #07# §#08#
I only had a look at #CREATEMOVIELIST# yet! |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
washandgo
Junior Member
Spain
257 Posts |
Posted - 11 Jun 2016 : 22:03:03
|
I think this solved, but we must wait to confirm this, because they are doing maintenance on the web ...... |
|
|
JDommi
Administrator
Germany
4655 Posts |
Posted - 11 Jun 2016 : 22:35:23
|
Okay, let's wait...
*Edit* By the way: use my Debugger on testing scripts. You will see the variables and on tab Info the actual cursor position. It will help a lot in some cases |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
washandgo
Junior Member
Spain
257 Posts |
Posted - 12 Jun 2016 : 13:14:02
|
I am using your debugger, but I lack a user manual first steps |
|
|
JDommi
Administrator
Germany
4655 Posts |
Posted - 12 Jun 2016 : 13:29:30
|
Well, that's right Unfortunately I'm not really good in writing manuals... But the most functions are self-declaring (in my opinion). Maybe I'll find time to make a "First Steps" next week. |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
washandgo
Junior Member
Spain
257 Posts |
|
JDommi
Administrator
Germany
4655 Posts |
Posted - 12 Jun 2016 : 15:29:56
|
I will have a look tomorrow as I now have to go to work...
But maybe you'll find some time: http://www.mediafire.com/download/2x155do9ykn687e/Debugger.doc It's a one-page-description of the debugger as Word2003 document. |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
washandgo
Junior Member
Spain
257 Posts |
Posted - 12 Jun 2016 : 21:07:26
|
and going out ... now I have to go over because in theory there are 7 movies found and only get 3.
I'm realizing that the web does not follow a standard, such criticisms do a #FIND#=text but are not all the same ....
|
|
|
washandgo
Junior Member
Spain
257 Posts |
|
washandgo
Junior Member
Spain
257 Posts |
Posted - 13 Jun 2016 : 20:16:48
|
As the break point used? I make a break but the script continues to the end, to continue with a step by step |
|
|
JDommi
Administrator
Germany
4655 Posts |
Posted - 13 Jun 2016 : 20:35:04
|
Break point is not a stop point Use the hand symbol for exiting the script execution. F5 (or unchecking the checkbox) toggles between script running and debugging mode. |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
washandgo
Junior Member
Spain
257 Posts |
Posted - 13 Jun 2016 : 21:12:21
|
go by God, then it depends on the visual agility and digital thing I lack. So that is the break point? |
|
|
JDommi
Administrator
Germany
4655 Posts |
Posted - 13 Jun 2016 : 22:36:41
|
In the case we didn't talk past each other...
But maybe I have explained it bad. That's the discrepance between doing and telling. (Although it mostly is vice versa *lol*) |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
|
washandgo
Junior Member
Spain
257 Posts |
Posted - 15 Jun 2016 : 21:46:20
|
Something is wrong and can not be ....
|
Edited by - washandgo on 15 Jun 2016 21:48:05 |
|
|
JDommi
Administrator
Germany
4655 Posts |
Posted - 15 Jun 2016 : 22:16:25
|
Try it this way:
#STRING=#14#=#13#§§
#TAKEACTOR#=#14#
#CHECKACTOREXIST#=#51#,#13#
#IF# #51#==#00#
// Check if the Actor and his image exist, if exist do not download the picture to speed up import
#ADDACTOR#=#13#
#ENDIF#
Info: TAKEACTOR: Actor Name§Character§WebID ADDACTOR: Actor Name |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
washandgo
Junior Member
Spain
257 Posts |
Posted - 16 Jun 2016 : 19:45:02
|
It works. But I do not understand that it serves the operator §§ I've put in WRITETITTLELIST to release the cover art, but here with STRING do not understand. |
|
|
JDommi
Administrator
Germany
4655 Posts |
Posted - 16 Jun 2016 : 20:15:37
|
XMM requires 3 values for the actor. It's simply comparable with an email adress. If there is missing the @ then it's a wrong format and therefor invalid.
|
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
washandgo
Junior Member
Spain
257 Posts |
|
|
Topic |
|