Jump to content

UPDATE: Making uTorrent RSS downloader work with mininova


abud

Recommended Posts

UPDATE:

Here is an update to the RSS feed transformer that prevent timeout in the query and report the proper XML format output.

Hope it helped anyone in modifying their RSS feed content before it gets fowarded to their bittorrent client.

Hope it helps windows user that are not familiar with rssatellite.

Any feedback if you try it would be appreciated. Been working very well so far over here...

<% 
'
' This script was revised by aBud 2008.01.23
'
' Change the response content type
' Increased the response timout values
'
' This script was made by aBud 2007.10.28
'
' Special thanks for this web site help
' http://classicasp.aspfaq.com/general/how-do-i-read-the-contents-of-a-remote-web-page.html
'
' This simple ASP script can be used to modify the source test of an RSS feed.
'
' For example mininova RSS feeds are incompatible with torrent
' clients like uTorrent because they do not link directly to
' the torrent file. This prevent the use of the uTorrent RSS Downloader to
' automate the download of your favorite episodes. To make it work the RSS
' page needs to be modified by replacing /tor/ by /get/ inside links contained
' in the page.
'
' Simply install IIS available on Windows XP and copy this file
' as default.asp in your IIS wwwroot folder. This page uses MSXML
' that can be downloaded thru windows update.
'
' Next, change your RSS favorite link in uTorrent
' from
' Back to you|http://www.mininova.org/rss/back+to+you+eztv
' to
' Back to you|http://127.0.0.1/default.asp?url=http://www.mininova.org/rss/back+to+you+eztv
'
' Now you will be able to download mininova releases directly from your torrent client.
' Be patient if you don't get all your link refresh in 1 download
' mininova site timeout sometimes. Try to refresh at a later time.
'
' If anyone can figure out why uTorrent reports HTTP Error 403 and have a solution to it
' email me at abudx@icqmail.com.
'
' You may want to change your IE setting Check for newer version of stored pages
' to "Every visit to the page" when you test this page in your browser.
'

' Get the url passed as a parameter
url = Request.QueryString("url")

on error resume next

'Create the MSXML object to query the url
set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")

'Set the timeout to allow the site answer
xmlhttp.setTimeouts 5000, 60000, 10000, 10000

'Set the return type as XML format and retreive the RSS feed
response.ContentType = "text/xml"
xmlhttp.open "GET", url, false
xmlhttp.send ""

' Check if there is an error
if err.number = 0 then

' Based on the url, make the proper replacement to allow your
' torrent client to directly download the feeds
'
' Add your specific relacement here depending on the site URL passed

if instr(url,"mininova")>0 then
rssfields = Replace(xmlhttp.responseText, "/tor/", "/get/")
else
rssfields = xmlhttp.responseText
end if

'Display the modified page for your torrent client
response.write rssfields
else
'An error occured while accessing the page
'Invalid URL or Timeout?
'Test your link directly in the browser
response.write "An error occured while refreshing the page.<br>Invalid URL or Timeout?"
end if

'Happend the url and a timestamp to the page for testing purpose
'Disabled if we want the response to be valid XML
'response.write "<br>" & url & " - " & date & " " & time

set xmlhttp = nothing
%>

Link to comment
Share on other sites

  • 1 year later...

Sorry for bumping an old topic, but a google search of my problem brought this thread up as most relevant.

Anyways, I'm trying to set up a Mininova RSS feed in my Utorrent 1.8.2, but it keeps downloading .txt files.

I've tried, http://www.mininova.org/rss/eztv and http://www.mininova.org/rss.xml?user=EZTV. I've tried both with &direct, with ?direct, and without. Either way it keeps downloading .txt files. Is there something I'm missing?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...