{"action":"closed","issue":{"url":"https://api.github.com/repos/lwindolf/liferea/issues/642","repository_url":"https://api.github.com/repos/lwindolf/liferea","labels_url":"https://api.github.com/repos/lwindolf/liferea/issues/642/labels{/name}","comments_url":"https://api.github.com/repos/lwindolf/liferea/issues/642/comments","events_url":"https://api.github.com/repos/lwindolf/liferea/issues/642/events","html_url":"https://github.com/lwindolf/liferea/issues/642","id":325390961,"number":642,"title":"Allow changing user agent for downloading feeds","user":{"login":"dperelman","id":1740306,"avatar_url":"https://avatars3.githubusercontent.com/u/1740306?v=4","gravatar_id":"","url":"https://api.github.com/users/dperelman","html_url":"https://github.com/dperelman","followers_url":"https://api.github.com/users/dperelman/followers","following_url":"https://api.github.com/users/dperelman/following{/other_user}","gists_url":"https://api.github.com/users/dperelman/gists{/gist_id}","starred_url":"https://api.github.com/users/dperelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dperelman/subscriptions","organizations_url":"https://api.github.com/users/dperelman/orgs","repos_url":"https://api.github.com/users/dperelman/repos","events_url":"https://api.github.com/users/dperelman/events{/privacy}","received_events_url":"https://api.github.com/users/dperelman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"lwindolf","id":3315368,"avatar_url":"https://avatars3.githubusercontent.com/u/3315368?v=4","gravatar_id":"","url":"https://api.github.com/users/lwindolf","html_url":"https://github.com/lwindolf","followers_url":"https://api.github.com/users/lwindolf/followers","following_url":"https://api.github.com/users/lwindolf/following{/other_user}","gists_url":"https://api.github.com/users/lwindolf/gists{/gist_id}","starred_url":"https://api.github.com/users/lwindolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwindolf/subscriptions","organizations_url":"https://api.github.com/users/lwindolf/orgs","repos_url":"https://api.github.com/users/lwindolf/repos","events_url":"https://api.github.com/users/lwindolf/events{/privacy}","received_events_url":"https://api.github.com/users/lwindolf/received_events","type":"User","site_admin":false},"assignees":[{"login":"lwindolf","id":3315368,"avatar_url":"https://avatars3.githubusercontent.com/u/3315368?v=4","gravatar_id":"","url":"https://api.github.com/users/lwindolf","html_url":"https://github.com/lwindolf","followers_url":"https://api.github.com/users/lwindolf/followers","following_url":"https://api.github.com/users/lwindolf/following{/other_user}","gists_url":"https://api.github.com/users/lwindolf/gists{/gist_id}","starred_url":"https://api.github.com/users/lwindolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwindolf/subscriptions","organizations_url":"https://api.github.com/users/lwindolf/orgs","repos_url":"https://api.github.com/users/lwindolf/repos","events_url":"https://api.github.com/users/lwindolf/events{/privacy}","received_events_url":"https://api.github.com/users/lwindolf/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-05-22T17:24:17Z","updated_at":"2018-05-23T16:10:46Z","closed_at":"2018-05-23T16:10:45Z","author_association":"NONE","body":"While the [webkit-setting](https://github.com/lwindolf/liferea-plugin-studio/tree/master/webkit-setting) plugin has options for setting the User Agent for the internal browser, this is separate from the `SoupSession` that is used to actually download the feeds. Looking at that plugin, there are commented out lines referencing changing settings in the `SoupSession`. As far as I can tell in my fiddling, those are commented out because Liferea's plugin API does not actually offer access to that object. Would it be possible to expose that object to the plugin API, so I could write a plugin that changes that setting? This specific use-case seems niche enough that leaving it to a plugin would make sense.\r\n\r\n(My specific use-case is that Twitter recently changed their User Agent sniffing to send the mobile site to Liferea and the mobile site does not actually contain timestamps for tweets, so there's no way to modify [the conversion filter I'm using](https://github.com/dperelman/twitrssme/blob/feature/streaming/fcgi/twitter_stream_to_rss.pl) to actually output useful RSS. Additionally, Twitter redirects to HTTPS, so changing the user agent with a proxy would be non-trivial. The workaround would be to just go back to having the external program do the download as well as processing, but Liferea pretty much freezes while it's waiting on the output from external commands, so that's not a good solution.)"}}
{"actor":{"display_login":"lwindolf"}}