BinaryWorks.it Official Forum
Home
|
Profile
|
Active Topics
|
Members
|
Search
|
FAQ
All Forums
Plugins
Information
IMDB
Note:
Only the poster of this message, and the Moderator can edit the message.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Format Mode:
Basic
Help
Prompt
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Red
Yellow
Pink
Green
Orange
Purple
Blue
Beige
Brown
Teal
Navy
Maroon
LimeGreen
Forum:
Information
Subject:
Message:
* HTML is OFF
*
Forum Code
is ON
Smilies
The tt number must be passed as a parameter, including the page to be loaded and the Reference, as a single parameter (without spaces). Example MovieConnections for The Matrix: tt0133093/movieconnections/?ref_=tt_dyk_cnn [code]// Get the tt-Number #LOADWEBSLOTS# #STARTREADWEB# // Main Page #FINDLINE#=<link rel="canonical"#15##ONERROR#=STOP #FIND#=/tt#11# #ONERROR#=STOP #COMPUTECURSOR#=+2 #PUTCURSOR#=#11# #FIND#=/#12# #ONERROR#=STOP #TAKEWORD#=#47#,#11#,#12# #ENDLOADWEBSLOTS#[/code] Code at the beginning of each respective block for every page that has "see more" buttons. Connections, Awards, etc. [code]// Block to take MovieConnections #PUT#=\Exporter\IMDB.exe#11# // The EXE to call #STRING#=#12#=#47#/movieconnections/?ref_=tt_dyk_cnn#12# // releaseinfo/?ref_=tt_ov_at_dt_rdat // keywords/?ref_=tttg_at_pl_kw // companycredits/?ref_=ttkw_at_dt_cmpy // locations/?ref_=ttco_at_dt_flmg // goofs/?ref_=ttpg_at_dyk_gf // crazycredits/?ref_=ttg f_at_dyk_cc // awards/?ref_=ttalt_at_op_awd #EXECUTEFILEPARAMETER#=#12# // Pass Parameter #EXECUTEFILEFROMPLUGINS#=#11# // The Initial path is the EXE Folder\Plugins #STRING#=#11#=.\tempdir\SavedWebHtml.txt // This instruction opens a file from a fixed location, like c:\temp... #OPENFILE#=#11# #STARTREADWEB# // Parse the saved page to get ALL movie connections // the code goes here ... // End of block to take MovieConnections[/code] Input to the script: tt0133093/movieconnections/?ref_=tt_dyk_cnn Output of the script: .\tempdir\SavedWebHtml.txt Unfortunately there is still only the imdb_plus script available that was based on the IMDB Scraper by tarzibou. That script has parsed all info and saved it in JSON-format. Mine is intended to keep most work on the MagicScript-Engine as there are more "scripter" than Delphi-Programmer [:D] Therefore the parsing has to be done completely from scratch. Download: https://www.mediafire.com/file/nmbsok8s28t9cuq/IMDB.rar/file
Check here to include your profile signature.
BinaryWorks.it Official Forum
© Binaryworks.it
Generated in 0.02 sec.