Summary: | Cookies support on rss plugin | ||
---|---|---|---|
Product: | [Applications] ktorrent | Reporter: | Cherkasov Anton <cherkasof> |
Component: | general | Assignee: | Joris Guisson <joris.guisson> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | mitykov, wiselord1983 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Cherkasov Anton
2010-07-17 18:26:43 UTC
Do you know of any sites I could test this with ? Of course. For example http://lostfilm.TV http://novafilm.tv RSS: http://lostfilm.tv/rssdd.xml http://novafilm.tv/rss/rssd.xml But you must be a registered user for downloading. Registration is free. My knowledge of Russian is non existent, so English sites would be better. SVN commit 1151691 by guisson: Add support for cookies in syndication plugin BUG: 244967 M +1 -0 ChangeLog M +29 -4 plugins/syndication/feed.cpp M +10 -2 plugins/syndication/feed.h M +1 -1 plugins/syndication/feedlist.cpp M +27 -4 plugins/syndication/feedretriever.cpp M +11 -1 plugins/syndication/feedretriever.h M +21 -0 plugins/syndication/feedwidget.cpp M +1 -0 plugins/syndication/feedwidget.h M +12 -5 plugins/syndication/feedwidget.ui M +15 -3 plugins/syndication/syndicationactivity.cpp M +1 -1 plugins/syndication/syndicationactivity.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1151691 Ktorrent 4.1. This don't work for me on lostfilm.tv. I use url http://www.lostfilm.tv/rssdd.xml:COOKIE:uid=xxxxxxx;pass=xxxxxxxxxxxxxxxxxxxxxxxxxx;usess=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Сould it because of what has become lostfilm use the usess? I checked with wireshark, the cookie is sent. Everything after :COOKIE: is sent as cookie to in the http request. Maybe you made a typo in the cookie itself ? >Maybe you made a typo in the cookie itself ? I don't think so. I use copy past and have tried many times. Parameters "pess" and "uid" i took from google chrome (look at the screenshot http://dl.dropbox.com/u/3161146/ktorrent/1.png) Parametr usess i took from my profile settings on Lostfilm (look at the screenshot http://dl.dropbox.com/u/3161146/ktorrent/2.png) It's right? Problem comes from fact that lostfilm.tv use additional protection from unautorized users. It needs three cookies from torrent client: "uid", "pass" and "usess". First and second we can take from internet browser (konqueror), and ktorrent uses thees cookies too. But "usess" cookie doens't pass to browser, it can be taken only from user profile and manually given to torrent client. So lostfilm.tv user neets to logout from kde and put "usess" cookie to ~/.kde4/share/apps/kcookiejar/cookies file manually. So ktorrent will use it next time. I don't think that other sites use such protection, but it is a good idea to give to ktorrent possibility to use additional cookies instead of ~/.kde4/share/apps/kcookiejar/cookies file. |