IMDB for TPB

By perbanan Last update Jan 8, 2010 — Installed 5,225 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 6 posts, 6 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Lonni J Frie... User

This script stopped working today. Or rather, it works, but after the IMDB/RT info loads, the entire TPB page then redirects to a 404 error page. Anyone else seeing this?

 
Curtis Gibby Scriptwright

Very good script, but it won't work on RT titles with a perfect score -- i.e. "Jaws" ( http://thepiratebay.org/torrent/4190059/Jaws_(1... )

(I've gone through the same thing with my IMDB/RT script at http://userscripts.org/scripts/show/12897 )

Change one line to include both 'percent' and 'perfect' in your xpath and you're good to go.

var percentage = $x("//span[@class='percent']/text()", dom);
becomes:
var percentage = $x("//span[@class='percent']/text() | //span[@class='perfect']/text()", dom);

 
Mimimi Scriptwright

Thanks perbanan, very nice, works great and is very helpful.

 
engtech Scriptwright

I'd written something similar at: http://userscripts.org/scripts/show/22689 , but I really like the way you embedded the info from IMDB/RT directly in the page.

I was thinking of updating my script to do something similar, and I'm glad I can use yours instead.

 
Martin Linds... User

This is the most useful script I have added so far on userscripts.org

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel