BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 eXtreme Movie Manager 8, 9, 10 Forum
 Bug Reports
 IMDB script does not work correctly

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
micklecat Posted - 20 Jun 2021 : 10:31:02
I use XMM10. Main script for downloading movie data is, of course, IMDB. For a long time it worked incorrectly, downloaded seversl persons as Directors instead of one Director. Now it cannot download movie data at all. No Country, no Year, no Director. And no any updates to script! No new versions of XMM, version 11 is a stub only, it doesn't work. What we paid for? I am ready to pay more, but I want to have a correctly functioning movie database. But it seems like development is abandoned.
20   L A T E S T    R E P L I E S    (Newest First)
JDommi 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
JDommi 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.
Sabry 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 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#
JDommi 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...
JDommi Posted - 13 Apr 2025 : 21:23:47
I will try to have a look during this week, Sabry
Sabry 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 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.
Sabry 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!
Alferio Posted - 17 Jan 2025 : 22:48:39
thanks jdommy!!!!!!!
JDommi Posted - 13 Jan 2025 : 18:25:45
Check it, please...
https://www.mediafire.com/file/nbsywfxzvy34pqj/IMDB.COM_%2528Complete%2529.txt/file
JDommi Posted - 12 Jan 2025 : 19:11:49
I will have a look tomorrow...
Alferio Posted - 12 Jan 2025 : 16:42:41
Imdb does'nt scrap the year
JDommi 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.
Rincewindwiz 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
JDommi Posted - 31 Dec 2024 : 21:06:48
Happy new year from me, too

Please try this script: https://www.mediafire.com/file/731dfl2hkc0fi7j/IMDB.COM_%2528Complete%2529.txt/file
But I think that a few info like MovieConnections may not work. (I've just began to write a script for XMM 10 to retrieve ALL information from those pages containing "See more" buttons.)

To debug scripts you can use the internal MagicScript Editor or my plugin Script Debugger.
For more info on scripting have a look here:
http://www.binaryworks.it/forum/topic.asp?TOPIC_ID=15900 and here: http://www.binaryworks.it/cgi-bin/data/wiki/doku.php?id=programmer_s_guide
Rincewindwiz 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
Sabry Posted - 10 Dec 2024 : 09:38:00
Thank you JDommi, now works!
JDommi Posted - 09 Dec 2024 : 20:30:08
https://www.mediafire.com/file/njwsfc538gjx33j/IMDB.COM_%2528TVSeries%2529_12_2024.txt/file

Once again there was changed the name of a div class...
Sabry Posted - 08 Dec 2024 : 18:20:31
I tried with this one "IMDB.COM (TVSeries)_11_2024" posted on 19.11.2024.

The script worked until few days ago... so something should have changed recently.

Thanks

BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.1 sec. Powered By: Snitz Forums 2000 Version 3.4.07