Closed diantahoc closed 10 years ago
By sending HTTP Requests, and parsing HTML responses. It's doable, but I don't know to which degree yet. It depends on how torrent websites tolerate automated (or non-browser) web requests.
I know how to parse webpages, but I was asking about (reliable) services that offer torrent searching.
Torrentz.eu, maybe?
I don't know about torrentz.eu
since I never used it, but it doesn't have to by only 1 torrent source. We could have a generic ITorrentSearchEngine
interface, and have the sources such as (torrentz.eu, kat.ph, eztv.it, TPB) implement this interface, and do the parsing.
The user can select which source he wants. This way also 3rd party devs can write their website plugin (such as private trackers) [spoiler]At least we can hope so[/spoiler].
Torrentz.eu is a service that searches for most mainstream torrent websites, including kat.ph, eztv.it and TPB. Upon a quick inspection, there's no API though, meaning we will have to parse the search results by hand.
Making an interface would be pretty useful for extending functionality in the future though.
Also, good night. Our timezones sadly don't match.
Torrentz.eu is a service that searches for most mainstream torrent websites, including kat.ph, eztv.it and TPB.
That's nice. I didn't know.
How do you intend to parse the results though? If you come to me, I would use HtmlAgilityPack.
Also, good night. Our timezones sadly don't match.
No they do. It's 2:30 AM here too. Good night.
It's 2:30 AM here too.
Oh.
HtmlAgilityPack is of course the best option, if you don't want to use tens of Split()s.
Lol.
How would that work though, which services offer torrent searching? Will it just use a search engine?