| View previous topic :: View next topic |
| Author |
Message |
username Op

Joined: 06 Oct 2005 Posts: 196 Location: Russian Federation, Podolsk
|
Posted: Sat Aug 27, 2011 3:37 am Post subject: |
|
|
| 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 |
|
 |
l1ve Voice
Joined: 30 Oct 2007 Posts: 7
|
Posted: Wed Sep 28, 2011 4:05 pm Post subject: |
|
|
| When the update to imdb vote ? |
|
| Back to top |
|
 |
kenh83 Halfop
Joined: 08 Sep 2010 Posts: 61
|
Posted: Wed Sep 28, 2011 7:59 pm Post subject: |
|
|
|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 |
|
 |
l1ve Voice
Joined: 30 Oct 2007 Posts: 7
|
Posted: Wed Sep 28, 2011 8:18 pm Post subject: |
|
|
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 |
|
 |
kenh83 Halfop
Joined: 08 Sep 2010 Posts: 61
|
Posted: Wed Sep 28, 2011 9:49 pm Post subject: |
|
|
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 |
|
 |
kenh83 Halfop
Joined: 08 Sep 2010 Posts: 61
|
Posted: Wed Sep 28, 2011 9:53 pm Post subject: |
|
|
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 |
|
 |
l1ve Voice
Joined: 30 Oct 2007 Posts: 7
|
Posted: Wed Sep 28, 2011 9:58 pm Post subject: |
|
|
| 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 |
|
 |
gloogle Voice
Joined: 05 Oct 2011 Posts: 11
|
Posted: Wed Oct 05, 2011 6:01 am Post subject: |
|
|
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  |
|
| Back to top |
|
 |
username Op

Joined: 06 Oct 2005 Posts: 196 Location: Russian Federation, Podolsk
|
Posted: Wed Oct 05, 2011 11:27 am Post subject: |
|
|
Updated.
+Tagline
-Votes
imdb.tcl _________________ Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/ |
|
| Back to top |
|
 |
gloogle Voice
Joined: 05 Oct 2011 Posts: 11
|
Posted: Wed Oct 05, 2011 3:47 pm Post subject: |
|
|
good one username, rating working well,
just waiting for votes fix
thanks  |
|
| Back to top |
|
 |
username Op

Joined: 06 Oct 2005 Posts: 196 Location: Russian Federation, Podolsk
|
Posted: Thu Oct 06, 2011 1:45 am Post subject: |
|
|
There is no votes on imdb page. _________________ Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/ |
|
| Back to top |
|
 |
gloogle Voice
Joined: 05 Oct 2011 Posts: 11
|
Posted: Thu Oct 06, 2011 2:14 pm Post subject: |
|
|
| votes still active mate |
|
| Back to top |
|
 |
username Op

Joined: 06 Oct 2005 Posts: 196 Location: Russian Federation, Podolsk
|
Posted: Fri Oct 07, 2011 1:15 am Post subject: |
|
|
Show me votes in this page, for example. _________________ Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/ |
|
| Back to top |
|
 |
spithash Master

Joined: 12 Jul 2007 Posts: 248 Location: Libera
|
Posted: Fri Oct 07, 2011 1:38 am Post subject: |
|
|
your votes on that page would be this:
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 |
|
 |
gloogle Voice
Joined: 05 Oct 2011 Posts: 11
|
|
| Back to top |
|
 |
|