This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

imdb-20030014-fixed.tcl

Old posts that have not been replied to for several years.
S
Sphinx
Halfop
Posts: 90
Joined: Tue Mar 04, 2003 10:00 am

Post by Sphinx »

there is new one released use that one
l
lala

Post by lala »

the thing is the older scripts work now before all that "/title/tt" crap .. the problem is how fine is ur search for example if u search lets say the keyword "terminator" imdb returns this url (most popular search return): http://www.imdb.com/Tsearch?title=termi ... sort=smart (these r the default search parameters(&sort=smart&tv=off) in ur imdb script) ..in this case the script works and returns correct info

..i never checked in newer versions (mine is old as fook) if &substring was added under the "set page" string in the script so if u dont have that it would be pretty wise to add it there and maybe change the order a little? :)

..now the second problem is (in fixed scripts) that if ur keyword
is "Terminator 2: Judgment Day (1991)" imdb returns direct url: http://www.imdb.com/title/tt0103064/ in this case ur bot returns the correct info but doesnt if the keyword is only "terminator" becuz of those silly fixes to the script :)

so here's the problem.. have fun fixing it ;)
S
Sphinx
Halfop
Posts: 90
Joined: Tue Mar 04, 2003 10:00 am

Post by Sphinx »

i like the new version

Underworld (2003) - http://us.imdb.com/title/tt0320691/
Directed by: Len Wiseman
Genre: Action / Fantasy / Horror
Tagline: An immortal battle for supremacy.
Synopsis: Selene , a beautiful vampire warrior, is entrenched in a war between the vampire and werewolf races. Although she is aligned with the vampires, she falls in love with Michael , a werewolf who longs for the war to end.
User Rating: 6.5/10 (1,727 votes) (##########)
Runtime: Canada:121 min (Toronto International Film Festival) / USA:121 min

thats a example of the standard posting looks nice Tagline etc all in bold
so its a nice improvement
l
lala

Post by lala »

:P

here's the fix (the lame & simple version):
under set imdburl "http://www.imdb.com" just add another
set imdburl2 "http://www.imdb.com/title/tt"

change: global DEBUG imdbVERSION imdburl imdbsearchurl to: global DEBUG imdbVERSION imdburl imdburl2 imdbsearchurl

change: set title [string range $title 13 [expr [string length $title] - 2]]/ to: set title [string range $title 6 [expr [string length $title] - 2]]

change: append newurl $imdburl [string range $location 34 [expr [string length $location] -12]]/ to: append newurl $imdburl2 [string range $location 34 [expr [string length $location] -12]]/

worked lovely for me ;)
q
quick

Post by quick »

got the new script thanks... :D
Locked