Bug 60946

Summary: Save referer page for downloads
Product: [Applications] kget Reporter: Tuomas Suutari <tume>
Component: generalAssignee: KGet authors <kget>
Status: CONFIRMED ---    
Severity: wishlist CC: cfeck, chok, esigra, gbcox, gerlosgm
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tuomas Suutari 2003-07-08 22:09:24 UTC
Version:           0.8.3 (using KDE KDE 3.1.2)
Installed from:    Compiled From Sources
OS:          Linux

There are some stupid sites in the Net that require client to send referer header when downloading some files, or they just return 404 or 403.

Konqueror gives referer header automatically when downloading from a web page.
But if you close kget and restart it with some files in the queue, referer page will not be send any more so if site requires it, download will fail.

So, it would be nice if kget saved the referer URI and sended it when requesting files.
Comment 1 Urs Wolfer 2005-09-20 14:37:26 UTC
Good idea. I will put this on the KGet2 TODO list.
Comment 2 gerlos 2009-04-18 15:56:54 UTC
It could be useful to have referer information also in the details of the download, so kget could help us to answer that very old question: "where did I got that file?" :-)
Comment 3 Mamy Ratsimbazafy 2009-05-04 04:30:19 UTC
And adding a -referer option in command-line so we can use kget with other browsers (Opera can tell the download manager the referer and the link for example, and the flashgot extension for firefox too) will also be appreciated. (Maybe an option to load a cookie from a file too by the way)
Comment 4 Christoph Feck 2011-03-21 04:08:48 UTC
I was wondering why kget failed downloading some links, until I found out that when I wanted it in wget to work, I had to specify --referer=
Comment 5 Gerald Cox 2013-01-24 10:07:59 UTC
I just encountered the issue trying to use with Firefox via Flashgot... cURL and wGET support this... would be great if this functionality could be placed into KGET.