Posts Mentioning RSS Toggle Comment Threads | Keyboard Shortcuts

  • Dave 8:22 am on March 16, 2009 Permalink | Log in to leave a Comment
    Tags: geektool, scrape, , thepiratebay, top, tpb   

    Keeping an eye on The Pirate Bay top items 

    Disclaimer: I don’t download copyrighted material, unless I already own the movie/album/application.

    desktop

    Frequently, the things I download most from The Pirate Bay appear on the Total Top 100 page. There’s no RSS feed, but with a handy shell script and GeekTool for the Mac, I can slap the latest updates straight onto my desktop – where I can keep an eye on it…

    desktop2

    Here’s how…

    First up, download and install GeekTool.

    Next, download and unzip this script to your /Users/YOURNAME/Library/Scripts folder.

    TPB Top Items.sh.zip (1KB)

    Open GeekTool in the System Preferences and create a Shell entry. The command should look like…

    sh "/Users/YOURNAME/Library/Scripts/TPB Top Items.sh" -12

    If you want to show more items from the list, just change the “-12″ part to the number of items you want. And if you want to scrape a different page on TPB site, open up the script and change the URL. For example, to grab a list of the latest Mac applications submitted, you would use this URL: https://thepiratebay.org/browse/302/0/3

    IMPORTANT! You should change the GeekTool refresh value to over 600 (I’d recommend 1200 – 20 minutes), otherwise TPB may ban you for constantly hitting the website, and you’ll probably get me into hot water too.

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
esc
cancel