graby icon indicating copy to clipboard operation
graby copied to clipboard

Move rewrite_url from HttpClient to site config

Open j0k3r opened this issue 5 years ago • 1 comments

Regarding https://github.com/j0k3r/graby/pull/199 & https://github.com/wallabag/wallabag/issues/3767 we need to find a better to add custom rewrite urls within site config.

Mostly to avoid final user of graby to re-define all rewrite_urls rules.

j0k3r avatar Mar 25 '19 15:03 j0k3r

For memory, https://github.com/wallabag/wallabag/issues/3697 is also relevant, for bloomberg.com. Right now, a workaround is using in HttpClient: 'www.bloomberg.com' => ['www.bloomberg.com' => 'www.bloombergquint.com'],

Edit: for wallabag/wallabag#3767: 'www.lesswrong.com' => ['www.lesswrong.com' => 'www.greaterwrong.com'],

techexo avatar Mar 25 '19 22:03 techexo