egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

iMDB by perpleXA
Goto page Previous  1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Sat Aug 27, 2011 3:37 am    Post subject: Reply with quote

goalie204 wrote:
also, how can i remove the colour?

Code:
  # Headers color
  variable color1 ""
  # Information color
  variable color2 ""

_________________
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
l1ve
Voice


Joined: 30 Oct 2007
Posts: 7

PostPosted: Wed Sep 28, 2011 4:05 pm    Post subject: Reply with quote

When the update to imdb vote ?
Back to top
View user's profile Send private message
kenh83
Halfop


Joined: 08 Sep 2010
Posts: 61

PostPosted: Wed Sep 28, 2011 7:59 pm    Post subject: Reply with quote

|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
Back to top
View user's profile Send private message
l1ve
Voice


Joined: 30 Oct 2007
Posts: 7

PostPosted: Wed Sep 28, 2011 8:18 pm    Post subject: Reply with quote

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 =)
Back to top
View user's profile Send private message
kenh83
Halfop


Joined: 08 Sep 2010
Posts: 61

PostPosted: Wed Sep 28, 2011 9:49 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
kenh83
Halfop


Joined: 08 Sep 2010
Posts: 61

PostPosted: Wed Sep 28, 2011 9:53 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
l1ve
Voice


Joined: 30 Oct 2007
Posts: 7

PostPosted: Wed Sep 28, 2011 9:58 pm    Post subject: Reply with quote

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 =)
Back to top
View user's profile Send private message
gloogle
Voice


Joined: 05 Oct 2011
Posts: 11

PostPosted: Wed Oct 05, 2011 6:01 am    Post subject: Reply with quote

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 Very Happy
Back to top
View user's profile Send private message
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Wed Oct 05, 2011 11:27 am    Post subject: Reply with quote

Updated.
+Tagline
-Votes

imdb.tcl
_________________
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gloogle
Voice


Joined: 05 Oct 2011
Posts: 11

PostPosted: Wed Oct 05, 2011 3:47 pm    Post subject: Reply with quote

good one username, rating working well,

just waiting for votes fix

thanks Smile
Back to top
View user's profile Send private message
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Thu Oct 06, 2011 1:45 am    Post subject: Reply with quote

There is no votes on imdb page.
_________________
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gloogle
Voice


Joined: 05 Oct 2011
Posts: 11

PostPosted: Thu Oct 06, 2011 2:14 pm    Post subject: Reply with quote

votes still active mate
Back to top
View user's profile Send private message
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Fri Oct 07, 2011 1:15 am    Post subject: Reply with quote

Show me votes in this page, for example.
_________________
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Fri Oct 07, 2011 1:38 am    Post subject: Reply with quote

your votes on that page would be this:
Code:
650,716 users


well, at least this is how we use it on the other imdb script anyway.

Code:
[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
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
gloogle
Voice


Joined: 05 Oct 2011
Posts: 11

PostPosted: Fri Oct 07, 2011 4:19 am    Post subject: Reply with quote

username, test http://www.imdb.com/title/tt0111161/combined

just add /combined at every movie
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 3 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber