Author |
Topic  |
|
JDommi
Administrator
    
Germany
4684 Posts |
|
Sabry
Starting Member
Italy
16 Posts |
Posted - 10 Dec 2024 : 09:38:00
|
Thank you JDommi, now works! |
 |
|
Rincewindwiz
Junior Member
 
107 Posts |
Posted - 31 Dec 2024 : 19:51:39
|
Hi Happy New year to all Ive just downloaded and tried https://www.mediafire.com/file/a3hh0dxnuigsumy/IMDB.COM_%2528Complete%2529_11_2024.txt/file and all it does is go very rapidly (1 - 2 sec) through the 20 or so movies that need processing without out doing anything Anybidy else have this problem
Also where can I find a quick guide to debugging scripts? I cant even see how to pause execution and step though the script |
He uses statistics as a drunk uses lampposts - for support rather than illumination |
 |
|
JDommi
Administrator
    
Germany
4684 Posts |
|
Rincewindwiz
Junior Member
 
107 Posts |
Posted - 01 Jan 2025 : 17:43:12
|
quote: Originally posted by JDommi
Please try this script: https://www.mediafire.com/file/731dfl2hkc0fi7j/IMDB.COM_%2528Complete%2529.txt/file
To debug scripts you can use the internal MagicScript Editor or my plugin Script Debugger.
Thanks you for the superfast reply. Sadly the problem remains the same. the script cycles thru 20 movies repeatedly Scripts: I understand the basic scripting language. what I dont understand is how to debug a script so get it to stop at a line step through the script a line at a time etc
Is this what your plugin script debugger does and if so, where can I find it
Advice greatly appreciated
R
|
He uses statistics as a drunk uses lampposts - for support rather than illumination |
 |
|
JDommi
Administrator
    
Germany
4684 Posts |
Posted - 01 Jan 2025 : 19:11:39
|
In the main menu go to MagicScript. Then open MagicScript Editor or Script Debugger.
MagicScript Editor: 1. Enter the search word top right. 2. Open a script. 3. Scroll to the defective Block. 4. Search for a special line where you want to start the line-by-line debugging. 5. Klick on the big red point in the top to set this break point. In the tab Variables you can set this line number at the bottom. Attention: There is a "bug" in the original editor that stops the script always one line later! 6. The green running man (3rd icon) runs the script. 7. The walking man (4th icon) executes the script line by line. 8. The pause button toggles between normal execution and debugging. 9. The big square stops the script.
Script Debugger: The buttons should be easy to identify. Additionally you have normal editor options, etc.
|
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
 |
|
Alferio
Starting Member
37 Posts |
Posted - 12 Jan 2025 : 16:42:41
|
Imdb does'nt scrap the year |
 |
|
JDommi
Administrator
    
Germany
4684 Posts |
Posted - 12 Jan 2025 : 19:11:49
|
I will have a look tomorrow...
|
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
 |
|
JDommi
Administrator
    
Germany
4684 Posts |
|
Alferio
Starting Member
37 Posts |
Posted - 17 Jan 2025 : 22:48:39
|
thanks jdommy!!!!!!! |
 |
|
Sabry
Starting Member
Italy
16 Posts |
Posted - 26 Mar 2025 : 18:04:27
|
Hi JDommi, it seems that the script "IMDB.COM (TVSeries)_12_2024" doesn't grab anymore cast and crew of the shows, also inside the episodes all the fields for actors, directors, writers are blank. I noticed some changes in the website, maybe that's the reason why the script cannot run correctly.
Could you have a look? Thanks :)
[Edit] I tried again today and now the script it's working! |
Edited by - Sabry on 27 Mar 2025 11:03:34 |
 |
|
JDommi
Administrator
    
Germany
4684 Posts |
Posted - 27 Mar 2025 : 18:48:09
|
Hi Sabry!
Maybe they are testing something... We have to wait for the next days if there are really changes in progress. |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
 |
|
Sabry
Starting Member
Italy
16 Posts |
Posted - 12 Apr 2025 : 11:37:51
|
Hi JDommi, I can confirm that now the last script TV Series cannot grab the data I mentioned in my last post. The episodes list are totally empty.
Could you please check?
Thank you! |
 |
|
JDommi
Administrator
    
Germany
4684 Posts |
Posted - 13 Apr 2025 : 21:23:47
|
I will try to have a look during this week, Sabry  |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
 |
|
JDommi
Administrator
    
Germany
4684 Posts |
Posted - 16 Apr 2025 : 20:48:56
|
Sorry, I just didn't have the time 'til yet. And now the witch has had a shot at me (lower back pain) - I'm happy when I don't have to sit at the moment. As soon as I can sit for morer than a few minutes I will have a look. I think it's probably only an ID-name that has to be changed again... |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
 |
|
JDommi
Administrator
    
Germany
4684 Posts |
Posted - 20 Apr 2025 : 10:14:27
|
Once again, sorry for late fix... Please exchange the whole block #CREATEMOVIELIST#
#CREATEMOVIELIST#
#PUT#=0#17#
#STARTREADWEB#
#FINDLINE#=<ul class="ipc-metadata-list#23##ONERROR#=*OK*
#IF# #23#==#00#
#GOTO#=SERIESNOTFOUND
#ENDIF#
#STARTREADWEB#
#FINDLINE#=<div class="sc-4be28cfe-0 elXSkc">#10# #ONERROR#=*STOP*
#REPEAT#
#FIND#=div class="sc-4be28cfe-0 elXSkc">#10# #ONERROR#=*STOP*
#PUTCURSOR#=#10#
#FIND#=/title/#04#
#FINDPREVIOUS#=class="ipc-image"#11# #ONERROR#=*OK*
#IF# #11#<<#10#
#PUT#=#08#
#LOADCURSOR#=#10#
#GOTO#=NOCOVERPICFOUND
#ENDIF#
#FIND#=src="#04#
#FIND#="#04#
#FIND#=.jpg#05#
#FIND#="#05#
#TAKEWORD#=#08#,#04#,#05# //Coverpic
:NOCOVERPICFOUND
#FIND#= href="#04#
#FIND#="#04#
#FIND#=/?ref_=#05#
#TAKEWORD#=#06#,#04#,#05# //Link
#FIND#=>#04#
#FIND#=</a>#05#
#TAKEWORD#=#07#,#04#,#05# //Title
:NEXTSPAN
#PUTCURSOR#=#10#
#FIND#=<div class="sc-4be28cfe-0 elXSkc">#11#
#LOADCURSOR#=#10#
#FIND#=<span class="#04#
#IF# #04#>>#11#
#LOADCURSOR#=#10#
#GOTO#=CHECKINFO
#ENDIF#
#FIND#=>#04#
#FIND#=</span>#05#
#TAKEWORD#=#09#,#04#,#05# //Info
#STRING#=#07#=#07# (#09#)
#GOTO#=NEXTSPAN
:CHECKINFO
#CHECKVARIABLE#=#07#
#STARTSUBSTITUTETAGS#
#CLEARTAGS#
#STARTDELETETAGS#
#WRITETITLELIST#=https://www.imdb.com/#06# ---> #07# §#08#
#WHILE# #00#<>#10#
:ENDMLIST
#IF# #17#==#00#
#GOTO#=SERIESNOTFOUND
#ENDIF#
#GOTO#=ENDCREATEMOVIELIST
:SERIESNOTFOUND
// No titles were found
#WRITETITLELIST#= ~~~~~~~~ The script couldn't find any titles matching that name. ~~~~~~~~
#WRITETITLELIST#=
#WRITETITLELIST#= If you know an alternative name for this movie then you could try to enter it
#WRITETITLELIST#= again and after make import again
#WRITETITLELIST#=
#WRITETITLELIST#= If it still doesn't find anything then try to go to this page and search for it manually:
#WRITETITLELIST#= https://www.imdb.com/search
#WRITETITLELIST#=
#WRITETITLELIST#= If you could find it manually then please post a bugreport in this thread in the XMM forum:
#WRITETITLELIST#= http://www.binaryworks.it/forum/topic.asp?TOPIC_ID=772
:ENDCREATEMOVIELIST
#ENDCREATEMOVIELIST# |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
 |
|
Sabry
Starting Member
Italy
16 Posts |
Posted - 20 Apr 2025 : 12:30:05
|
Thank You JDommi, now I can grab the TV Shows but cast and crew info are totally empty, both in the main cast and crew tab of the shows and also inside the episodes.
I hope you recover soon!
Happy Easter :)
|
 |
|
JDommi
Administrator
    
Germany
4684 Posts |
Posted - 20 Apr 2025 : 18:48:12
|
Thank you Sabry  I didn't have checked the rest of the script... Although I already have an idea: the subside for actors maybe now have a ref addition in the link-address. I will check it at the next opportunity. |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
 |
|
JDommi
Administrator
    
Germany
4684 Posts |
Posted - 26 Apr 2025 : 10:44:30
|
Oh man, that will take a while... there is not only one change in the structure. The ref_ has to be added, all keywords have changed ("Series directed by" -> "Directors") and now all data is written in one line instead of listed line by line. For that I have to write the whole procedure for directors, actors, etc. completely from scratch  |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
 |
|
Topic  |
|
|