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.
Support & discussion of released scripts, and announcements of new releases.
username
Op
Posts: 196 Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:
Post
by username » Sat Aug 27, 2011 3:37 am
goalie204 wrote: also, how can i remove the colour?
Code: Select all
# Headers color
variable color1 ""
# Information color
variable color2 ""
l1ve
Voice
Posts: 7 Joined: Tue Oct 30, 2007 3:18 pm
Post
by l1ve » Wed Sep 28, 2011 4:05 pm
When the update to imdb vote ?
kenh83
Halfop
Posts: 61 Joined: Wed Sep 08, 2010 11:22 am
Post
by kenh83 » Wed Sep 28, 2011 7:59 pm
|1ve, i don't run this script.. but imdb change the html on the voting information on their page..
without any testing it seems that in this script line 206 which is this:
regexp -nocase -- {href="ratings".*?>(.*?) votes</a>\)} $data -> votes;
should be changed to this:
regexp -nocase -- {<span itemprop="ratingCount">(.*?)</span> users</a>} $data -> votes;
again.. this is without any testing. just the regex is broke.. and that _SHOULD_ work. please report back if it does work.
Thanks
l1ve
Voice
Posts: 7 Joined: Tue Oct 30, 2007 3:18 pm
Post
by l1ve » Wed Sep 28, 2011 8:18 pm
Thanks it worked
Now if possible i need the rating to work, and get the number the top 250 if the movie is on top 250 and the original name of the movie.
Thanks =)
kenh83
Halfop
Posts: 61 Joined: Wed Sep 08, 2010 11:22 am
Post
by kenh83 » Wed Sep 28, 2011 9:49 pm
To fix rating:
Change line 205 from:
this:
regexp -nocase -- {<span class="rating-rating"><span class="value">(.*?)</span>} $data -> rating;
to this:
regexp -nocase -- {<span itemprop="ratingValue">(.*?)</span>} $data -> rating;
Enjoy.
kenh83
Halfop
Posts: 61 Joined: Wed Sep 08, 2010 11:22 am
Post
by kenh83 » Wed Sep 28, 2011 9:53 pm
If I get some time I may actually re-work this script to get other information such as screening totals and various other things.
we'll see.
l1ve
Voice
Posts: 7 Joined: Tue Oct 30, 2007 3:18 pm
Post
by l1ve » Wed Sep 28, 2011 9:58 pm
kenh83 wrote: If I get some time I may actually re-work this script to get other information such as screening totals and various other things.
we'll see.
That would be great =)
gloogle
Voice
Posts: 11 Joined: Wed Oct 05, 2011 5:56 am
Post
by gloogle » Wed Oct 05, 2011 6:01 am
hi guys
who can fix votes, and rating, username you are doing a good work can you check this bug please
still Rating: 0/10 (n/a votes)
thanks
username
Op
Posts: 196 Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:
Post
by username » Wed Oct 05, 2011 11:27 am
Updated.
+Tagline
-Votes
imdb.tcl
gloogle
Voice
Posts: 11 Joined: Wed Oct 05, 2011 5:56 am
Post
by gloogle » Wed Oct 05, 2011 3:47 pm
good one username, rating working well,
just waiting for votes fix
thanks
username
Op
Posts: 196 Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:
Post
by username » Thu Oct 06, 2011 1:45 am
There is no votes on imdb page.
gloogle
Voice
Posts: 11 Joined: Wed Oct 05, 2011 5:56 am
Post
by gloogle » Thu Oct 06, 2011 2:14 pm
votes still active mate
username
Op
Posts: 196 Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:
Post
by username » Fri Oct 07, 2011 1:15 am
Show me votes in
this page , for example.
spithash
Master
Posts: 249 Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:
Post
by spithash » Fri Oct 07, 2011 1:38 am
your votes on that page would be this:
well, at least this is how we use it on the other imdb script anyway.
Code: Select all
[08:37:00] <@spithash> !imdb tt0111161
[08:37:02] <@nagger> The Shawshank Redemption (1994) - http://imdb.com/title/tt0111161/ - Directed by: Frank Darabont - Genre: Crime | Drama - Budget: $25,000,000(estimated) - Runtime: 142min.
[08:37:04] <@nagger> Synopsis: Andy Dufresne is a young and successful banker whose life changes drastically when he is convicted and sentenced to life imprisonment for the murder of his wife and her lover. Set in the 1940's, the film shows how Andy, with the help of his friend Red, the prison entrepreneur, turns out to be a most unconventional prisoner.
[08:37:07] <@nagger> Rating: 9.2 [*********-] ( 650,716 votes )
Libera ##rtlsdr & ##re - Nick:
spithash
Click here for
troll.tcl