Author |
Topic |
|
washandgo
Junior Member
Spain
257 Posts |
Posted - 17 Jan 2015 : 14:40:30
|
Hi, I'm trying to fix the Filmaffinity script, but not how to solve the following
#STARTREADWEB# #FINDLINE#=<dt>Título original</dt>#03##ONERROR#=*ASK* #FINDLINE#=<dd>#01##ONERROR#=*ASK* #FINDLINE#</dd>#02##ONERROR#=*ASK*
#TAKEWORD#=#06#,#01#,#02# #CHECKVARIABLE#=#06# #STARTSUBSTITUTETAGS# #TRIM# #ORIGINALTITLE#=#06# #ENDMOVIETITLE#
any ideas?
|
|
JDommi
Administrator
Germany
4657 Posts |
Posted - 17 Jan 2015 : 17:40:32
|
Try this:
#STARTREADWEB# #FINDLINE#=<dt>Título original</dt>#03##ONERROR#=*ASK* #FINDLINE#=<dd>#01##ONERROR#=*ASK* #COMPUTELINE#=+1
#PUT#=1#01# #PUT#=0#02# #TAKEWORD#=#06#,#01#,#02# #CHECKVARIABLE#=#06# #STARTSUBSTITUTETAGS# #TRIM# #ORIGINALTITLE#=#06# #ENDMOVIETITLE# |
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 - 17 Jan 2015 : 20:08:31
|
does not work, not how to read that line no position to find, and variable longuitud ..... |
|
|
JDommi
Administrator
Germany
4657 Posts |
Posted - 17 Jan 2015 : 21:11:13
|
Did you have checked on which line the code does show the error? #COMPUTELINE#=1 can be replaced by #READNEXTLINE#
|
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 - 17 Jan 2015 : 22:01:02
|
the script line by line but still does not read the original title, I tested with # READNEXTLINE #, I went to look for the following line and tried with # READPREVIOUSLINE #, I tried everything "imaginable" and nothing. Within my limitations. |
|
|
JDommi
Administrator
Germany
4657 Posts |
Posted - 17 Jan 2015 : 22:54:22
|
Please try this, maybe the í makes problems. Additionally I have added fixed values for the length.
#STARTREADWEB# #FINDLINE#=tulo original</dt>#03# #READNEXTLINE# #READNEXTLINE# #PUT#=1#01# #PUT#=255#02# #TAKEWORD#=#06#,#01#,#02# #CHECKVARIABLE#=#06# #TRIM# #ORIGINALTITLE#=#06# |
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 - 18 Jan 2015 : 01:47:27
|
yes sir, is the "í" which gives problems, now works perfectly. This has happened in other fields, and I have not remembered
Thank You |
Edited by - washandgo on 18 Jan 2015 01:47:54 |
|
|
JDommi
Administrator
Germany
4657 Posts |
Posted - 18 Jan 2015 : 10:11:06
|
Great |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
|
Topic |
|