Settings & History
  • You can use boolean operators (-, |, OR), wildcards (*, ?), and phrase search (") in your query
  • For BitTorrent: Paste in a 40 characters info_hash, to search for that particular torrent and get all trackers for it
Browse|Add this search and API to your site



<< Post  socket is what?   ::   utorrent ipfilter updater  Post >>

Author Message
schlomo72

Elite Spammer


Joined: 20 Aug 2008
Posts: 11931
Location: dumping out the crumb tray

Status: Hidden
Reputation: 3754

Post Posted: Fri Jul 16, 2010 10:34 pm Reply with quote   Back to top    

behweemoth wrote:
Thanks Mr Toaster. Much appreciated.


yer welcome Wink

_________________
Image
Image
View user's profile  Send private message            
IH

Admin, Dev, Janitor


Joined: 21 Jan 2003
Posts: 3621
Location: 127.0.0.1

Status: Offline
Reputation: 3311

Post Posted: Wed Jul 21, 2010 8:42 pm Reply with quote   Back to top    

manofvalour wrote:
Happy news, i'll release the 1.1 version of my app "Isohunter" soon, before that i want to ask a few questions. First, i wonder why order=ascending doesn't work, or may be it seemed to me like that Smile, make me wrong. Second, i use the json provided by /statsjson.php to popup completer on a gui widget as the user types the search query, is it ok for u, if so how often do you update the page /statsjson.php , i'll use a timer event to update the completer. Thanks isohunt.com for providing such a nice api and thx to people who has downloaded 1.0 version of my app.

I got one more question, my app permits the user to download multiple ".torrent" files at the same time, should i put a limit on that, i don't want to cause extra load on your servers.

One more question Smile, how can i make my app identified by your system?, adding toasted spam header to the requests seem meaningless for a desktop app, how about User-Agent header like {'User-agent': 'isohunter-1.1'} ?


- "order" param can be either "asc" or "desc", forgot to document this (added now to original post)

- putting your app name in user-agent on api requests is the proper way

- for request frequency, it's fine as long as you link back from your client to isohunt.com/torrent_details/ pages as said in my original post, and you limit batch downloads to something sensible like 10 max. at once.

_________________
"He is no fool who gives up what he cannot keep to gain what he cannot lose." - Jim Elliot
"Science without religion is lame: Religion without science is blind." - Albert Einstein
"The best way to predict the future is to invent it." - Alan Kay
View user's profile  Send private message            
manofvalour

I'm new be nice to me PLZ!


Joined: 11 Jan 2009
Posts: 4

Status: Hidden
Reputation: 1

Post Posted: Tue Jul 27, 2010 3:35 pm Reply with quote   Back to top    

Cool i got the below json from http://isohunt.com/js/json.php?ihq=ubuntu :
Code:
{"title":"",
"link":"http://isohunt.com/torrent_details//ubuntu?tab=summary",
"guid":"",
"enclosure_url":"http://isohunt.com/download//ubuntu.torrent",
"length":"0",
"type":"application/x-bittorrent",
"tracker":"N/A",
"tracker_url":"N/A",
"kws":"",
"exempts":"",
"category":"All",
"original_site":"",
"original_link":"",
"size":"0 MB",
"files":"",
"Seeds":"",
"leechers":"",
"downloads":"",
"votes":"",
"comments":"",
"hash":"",
"pubDate":"Tue, 27 Jul 2010 22:11:09 GMT"}


it occured in the 8th item (json.items.list[7]) , which seems to be an error

Also http://isohunt.com/js/json.php?ihq=rihanna&rows=20 returns 20 total_results, isn't it the composite ranking without sort and order params, if sort is specified, total_results get bigger numbers
View user's profile  Send private message            
yhvh

I'm new be nice to me PLZ!


Joined: 20 Apr 2010
Posts: 2

Status: Offline
Reputation: 1

Post Posted: Fri Aug 27, 2010 11:23 pm Reply with quote   Back to top    

I'm sometimes getting illegal syntax in my results, an example of which is given below. Any idea if this is fixable your end? Thanks.

http://isohunt.com/js/json.php?ihq=Night%20Train%20&start=1&rows=100&sort=seeds
View user's profile  Send private message            
IH

Admin, Dev, Janitor


Joined: 21 Jan 2003
Posts: 3621
Location: 127.0.0.1

Status: Offline
Reputation: 3311

Post Posted: Sat Aug 28, 2010 8:49 pm Reply with quote   Back to top    

yhvh wrote:
I'm sometimes getting illegal syntax in my results, an example of which is given below. Any idea if this is fixable your end? Thanks.

http://isohunt.com/js/json.php?ihq=Night%20Train%20&start=1&rows=100&sort=seeds


http://www.jsonlint.com/ validates it

_________________
"He is no fool who gives up what he cannot keep to gain what he cannot lose." - Jim Elliot
"Science without religion is lame: Religion without science is blind." - Albert Einstein
"The best way to predict the future is to invent it." - Alan Kay
View user's profile  Send private message            
yhvh

I'm new be nice to me PLZ!


Joined: 20 Apr 2010
Posts: 2

Status: Offline
Reputation: 1

Post Posted: Sat Aug 28, 2010 9:00 pm Reply with quote   Back to top    

IH wrote:
http://www.jsonlint.com/ validates it


I used that to validate the json previously, and yes, it now seems to validate. The illegal token was a tab I think.

Here's another example, error at line 392:
http://isohunt.com/js/json.php?ihq=Pink%20Floyd%20The%20Wall%20&start=1&rows=100&sort=seeds

Are you fixing these by hand?
View user's profile  Send private message            
IH

Admin, Dev, Janitor


Joined: 21 Jan 2003
Posts: 3621
Location: 127.0.0.1

Status: Offline
Reputation: 3311

Post Posted: Sat Aug 28, 2010 10:55 pm Reply with quote   Back to top    

thanks for the catch. Switched all entity encoding to php's json_encode and all seems to pass www.jsonlint.com

_________________
"He is no fool who gives up what he cannot keep to gain what he cannot lose." - Jim Elliot
"Science without religion is lame: Religion without science is blind." - Albert Einstein
"The best way to predict the future is to invent it." - Alan Kay
View user's profile  Send private message            
llindsayy

I'm new be nice to me PLZ!


Joined: 21 Sep 2010
Posts: 1

Status: Offline
Reputation: 1

Post Posted: Tue Sep 21, 2010 11:48 am Reply with quote   Back to top    

Hello,
I am a iphone user and i also want to use bittorrent on that. so this information will really help me in that. this kinda technology is great.

thanks!!
View user's profile  Send private message            
behweemoth

I'm new be nice to me PLZ!


Joined: 25 Sep 2008
Posts: 5

Status: Offline
Reputation: 12

Post Posted: Sun Nov 07, 2010 7:12 pm Reply with quote   Back to top    

Hi,

I've identified a small bug in your JSON encoding. It's for the following isohunt page:

http://isohunt.com/torrent_details/155923249/Gulliver%27s+Travels?tab=summary

Note that the "title" of this torrent is set to 0222. When this is presented in your JSON results, it looks like this:

"title":0222

Note that there are NO quotes around the 0222. The title field is then interpreted as an octal integer, which fails validation, both in PHP's json_decode() and also in www.jsonlint.com.

If you ensure that quotes are ALWAYS put around your titles, then the problem would go away.

Thanks again,

Mark.
View user's profile  Send private message            
IH

Admin, Dev, Janitor


Joined: 21 Jan 2003
Posts: 3621
Location: 127.0.0.1

Status: Offline
Reputation: 3311

Post Posted: Tue Nov 09, 2010 4:03 am Reply with quote   Back to top    

interesting. Ensured quote around title

_________________
"He is no fool who gives up what he cannot keep to gain what he cannot lose." - Jim Elliot
"Science without religion is lame: Religion without science is blind." - Albert Einstein
"The best way to predict the future is to invent it." - Alan Kay
View user's profile  Send private message            
behweemoth

I'm new be nice to me PLZ!


Joined: 25 Sep 2008
Posts: 5

Status: Offline
Reputation: 12

Post Posted: Tue Nov 09, 2010 3:27 pm Reply with quote   Back to top    

IH wrote:
interesting. Ensured quote around title


Many thanks. Working now.
View user's profile  Send private message            
vert411

I'm new be nice to me PLZ!


Joined: 09 Jan 2011
Posts: 1

Status: Offline
Reputation: 1

Post Posted: Sun Jan 09, 2011 10:51 pm Reply with quote   Back to top    

Possibly add a parameter to only have results from podtropolis ?
View user's profile  Send private message            
schlomo72

Elite Spammer


Joined: 20 Aug 2008
Posts: 11931
Location: dumping out the crumb tray

Status: Hidden
Reputation: 3754

Post Posted: Sun Jan 09, 2011 10:58 pm Reply with quote   Back to top    

vert411 wrote:
Possibly add a parameter to only have results from podtropolis ?


um... put podtropolis in the search and hit enter.. Rolling Eyes

_________________
Image
Image
View user's profile  Send private message            
aweisser

I'm new be nice to me PLZ!


Joined: 14 Dec 2009
Posts: 1

Status: Offline
Reputation: 1

Post Posted: Sun Dec 25, 2011 3:40 pm Reply with quote   Back to top    

Hi there.

Thank you very much for providing the JSON API. I love using it.

I am having a problem with the sort=seeds command.

For example, http://ca.isohunt.com/js/json.php?ihq=Getting%20On%20s02e06&start=1&rows=10&sort=seeds is returning the following as its first match:
Quote:
{"title":"ER","link":"http:\/\/isohunt.com\/torrent_details\/46333175\/Getting+On+s02e06?tab=summary","guid":"46333175","enclosure_url":"http://ca.isohunt.com/download/46333175/Getting+On+s02e06.torrent","length":113945608192,"tracker":"tracker.torrentbox.com","tracker_url":"http:\/\/tracker.torrentbox.com:2710\/announce","kws":"","exempts":" ... er.season.05.complete \/ er.s05e22.getting.to.know.you.ws.avi ... er.season.02.complete \/ er.s02e06.days.like.this.fs.avi","category":"TV","original_site":"torrentbox.com","original_link":"http:\/\/torrentbox.com\/download\/211343\/vbhhhf.torrent","size":"106.12 GB","files":311, "Seeds":15 ,"leechers":270,"downloads":5135,"votes":16,"comments":28,"hash":"12ae8e712af9cda253a395e485ebb9fd5d982836","pubDate":"Wed, 25 Jun 2008 09:08:43 GMT"}


where as it should return
Quote:
{"title":"South Park","link":"http:\/\/isohunt.com\/torrent_details\/354032389\/Getting+On+s02e06?tab=summary","guid":"354032389","enclosure_url":"http://ca.isohunt.com/download/354032389/Getting+On+s02e06.torrent","length":69429257830,"tracker":"tracker.thepiratebay.org","tracker_url":"http:\/\/tracker.thepiratebay.org:80\/announce","kws":"","exempts":" ... Season 2 \/ S02E06 - The Mexican Staring Frog of Southern Sri Lanka.mkv ... Season 15 (720p) \/ S15E07 - You're Getting Old.mkv","category":"Anime","original_site":"torrent.cd","original_link":"http:\/\/torrent.cd\/1e23f175dd5f86b6cc4416f6df839975e0f39c65\/South+Park+Seasons+1+15+All+seasons+9+15+hd+720p.torrent","size":"64.66 GB","files":224, "Seeds":18 ,"leechers":156,"downloads":209,"votes":0,"comments":0,"hash":"1e23f175dd5f86b6cc4416f6df839975e0f39c65","pubDate":"Thu, 17 Nov 2011 20:57:39 GMT"}


The results seem to be in random seed-count order after that.

Am I missing something?

Thanks again
View user's profile  Send private message            
pumpkin_daisy

Currently banned

I'm new be nice to me PLZ!


Joined: 28 Aug 2012
Posts: 1

Status: Offline
Reputation: -127

Post Posted: Wed Aug 29, 2012 1:27 pm Reply with quote   Back to top    

<table>
<tr><td>Top Searches</td></tr>
<tr><td><script></script></td></tr>
<tr><td>Powered by isoHunt</td></tr>
</table>
View user's profile  Send private message            
Display posts from previous:       

<< Post  socket is what?   ::   utorrent ipfilter updater  Post >>

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

This site features search engines on metadata only. It is a service independent of the IRC and BitTorrent networks. Use at your own risk.


Powered by phpBB :: All times are GMT - 7 Hours



-ADVERTISEMENT-
BTGuard - Download Anonymously

VIP

membership is only $1/month, with perks like turning off all annoying ads. We dislike ads as much as you do!

Our 2nd contest winning t-shirt design! You know you want it!
NEW 8 Years Anniversary Tee!



Random Poll
which procedure
get it out!
save it if you can!

New Posts

Friends
TorrentBox
Podtropolis

TorrentFreak
Torrents.to

FAC, CMCC
Defend Fair Use
Neutrality.ca

This site features search engines on metadata only. It is a service independent of the IRC and BitTorrent networks. Use at your own risk.
Canadian Coalition for Electronic Rights - CCER.CA   Lighttpd   Get Firefox   FF Plugins, Toolbar & Widgets

Page generation: 2.53s (1% in 10 SQLs) on b04, loadavg: 5.60       © isoHunt Inc. | Privacy & Copyright Policies