tresni / freenas-rss-extension

Automatically exported from code.google.com/p/freenas-rss-extension
0 stars 0 forks source link

Problem with Downloading Torrents which require cookies #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a Feed URL, and required cookie to download the rss, and enable
2. Setup a filter to match an entry

What is the expected output?
Expect matched torrent to be downloaded using the cookie specified for the feed 
and added to Transmission. 

What do you see instead?
Warning: file_get_contents(http://domain/download.php/thenameofthe.torrent): 
failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in 
/mnt/VOL1/RSS/www/ext/RSS/rss_functions.inc on line 42 Warning: Cannot modify 
header information - headers already sent by (output started at 
/mnt/VOL1/RSS/www/ext/RSS/rss_functions.inc:42) in /usr/local/www/fbegin.inc on 
line 178 

What version of the product are you using? On what operating system?
FreeNAS 7.1.0

Please provide any additional information below.
Currently I can confirm the issue with two seperate rss feeds.

Original issue reported on code.google.com by omni...@gmail.com on 28 Jul 2010 at 1:34

GoogleCodeExporter commented 9 years ago
Is this an open tracker or something you can provide access to?  Cookie support 
only has really basic testing to this point.

Original comment by tre...@gmail.com on 3 Aug 2010 at 10:16

GoogleCodeExporter commented 9 years ago
One of the feeds I can't get to work is from TheEmpire.bz which is a private 
tracker, but public signups are open at the moment. feed: 
http://theempire.bz/rssdd.xml

Original comment by omni...@gmail.com on 4 Aug 2010 at 9:40

GoogleCodeExporter commented 9 years ago
I forgot to mention that once signed up, you can get url options and cookie 
info from http://theempire.bz/getrss.php

Original comment by omni...@gmail.com on 15 Aug 2010 at 10:45

GoogleCodeExporter commented 9 years ago
I was able to do this with the latest release.  Make sure you are just copying 
the part after :COOKIE:.  So you should just have "uid=X;pass=Y" in the Cookie 
textbox.

Original comment by tre...@gmail.com on 20 Dec 2010 at 7:16

GoogleCodeExporter commented 9 years ago
tresni, I've downloaded the latest .tgz, run the install.php but I still get 
the same error on theEmpire feed (with cookies set to just "uid=X;pass=Y"). 
When I manually select an item from the history, it fails to download and 
reports this at the top of the screen:

Warning: 
file_get_contents(http://theempire.bz/download.php/thenameofthe.torrent): 
failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in 
/mnt/VOL1/RSS/www/ext/RSS/rss_functions.inc on line 48 Warning: Cannot modify 
header information - headers already sent by (output started at 
/mnt/VOL1/RSS/www/ext/RSS/rss_functions.inc:48) in /usr/local/www/fbegin.inc on 
line 178 

Original comment by omni...@gmail.com on 26 Dec 2010 at 11:12

GoogleCodeExporter commented 9 years ago
I have this same issue with the same RSS feed (http://theempire.bz).

It shows a list of torrents, if you click to download i get the error:

Warning: file_get_contents(http://theempire.bz/download.php/133045/The Slap - 
E01 (6th October 2011) [PDTV (XviD)].avi.torrent): failed to open stream: HTTP 
request failed! HTTP/1.0 400 Bad Request in 
/mnt/system/torrents/RSS/www/ext/RSS/rss_functions.inc on line 48 Warning: 
Cannot modify header information - headers already sent by (output started at 
/mnt/system/torrents/RSS/www/ext/RSS/rss_functions.inc:48) in 
/usr/local/www/fbegin.inc on line 181 

I had the idea the problem was around having spaces in the torrent URL.

The full RSS link 
is:http://theempire.bz/rssdd.xml?:COOKIE:uid=65060;pass=9aae0494f8f0a1d9c5c6a0d4
04e9cbfb;session=1f017d730d988a53f985645279e21e3

I have http://theempire.bz/rssdd.xml?  in the feed URL 
and 
uid=65060;pass=9aae0494f8f0a1d9c5c6a0d404e9cbfb;session=1f017d730d988a53f9856452
79e21e3
 in the cookie field.

[I have removed one digit from the pass field, I can email it if it would help.]

Original comment by tortfea...@gmail.com on 7 Oct 2011 at 5:34

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Reports of this still happening for theempire.bz feeds.  I'll try and take a 
look.

Original comment by tre...@gmail.com on 4 May 2012 at 3:25