Sign in

Similar Content

Hi Guys,
I'm trying to create a program that'll download .torrent files for me automatically and place them in a folder so uTorrent starts downloading them.
The whole script works flawless (for now) except for the most important part: Downloading the .torrent file.
It works, it downloads the .torrent file perfectly, but for some reason uTorrent gives me the error that 'the torrent file was not correctly encoded'.
For some reason downloading the torrent with InetGet instead of my browser, fucks it up. The size of the torrent is exactly the same as that of the one I download with my browser, still the files are different.
This is my script:

This is a Torrent Browser that should only be used to download legal torrents. It helps you to look up and download movie trailers. It should never be used to download copyrighted material. It is an awesome program that any torrent downloader will absolutely love. Neither the AutoIt community nor anyone associated with AutoIt condones to the misuse of this program. Don't do it! That being said download your copy while you can!

Before you download this program you must read this first:
U.S. Copyright Infringement and Remedies or Understandable Version

I suggest everyone read this just for informational purposes:
RIAA, MPAA Copyright Warnings: Facts and Fiction

There are plenty of legal torrent and therfore justification for this program.

Legal Torrents:
*Games, Music and Software
* Movies and Videos

Features:
Search 30 different torrent websites including The Pirate Bay simultaneously!
Easy to use movie trailer lookup tool!
Download torrents with your own set of trackers.
All your torrent downloading needs in one place there is no need to open your internet browser!

If you happen to come across what you may think is copyrighted material you should immediately report it! Stopping Copyright Infringement

The reason I posted this here is of course because I have a question. Will you please allow this autoit created program to be posted on the forums? I and many others realize that there is nothing wrong with this. Pheraps the reasonable authority here would consider allowing the Autoit community decide by vote?

The attached is a self extracting archive. The password is "anonymous". To obtain the source run the program from the command line with "extract" as a parameter.
example: TorrentBrowser.exe -extract or /extract

If you don't want this post to be censored then post your thoughts on the matter.

Download Torrent Browser Now!

Please do not just delete this post without letting us all know why like it was done before with a similiar topic. I would suggest removing the link instead if whoever needs time to make a decision. Thanks.

I would like to programmatically check to see if a given tracker has information on the torrent I specify. This requires that the SHA-1 Info Hash of a torrent be encoded to make valid requests. I read from: http://nakkaya.com/2009/12/03/bittorrent-tracker-protocol/ If you don't pay attention to the spec and send this directly to tracker you will get an error this should be in URL Encoded form. Padding every two chars with % sign also doesn't work, been there done that don't waste your time. Any hex in the hash that corresponds to a unreserved character should be replaced,
a-z A-Z 0-9 -_.~

Partition the hex in to chunks of two and check if the hex corresponds to any of these values, if they do replace them with the unreserved char.

So that a hash such as,
123456789abcdef123456789abcdef123456789a

becomes,
%124Vx%9a%bc%de%f1%23Eg%89%ab%cd%ef%124Vx%9a

notice that hex 34 became 4 which is what it is in ASCII. You can test the correctness of your hashes using the tracker url but don't request from announce request from file,
http://some.tracker.com/file?info_hash=hash