From dc26cef57238a35d5c2c7bec4e05a4660d86fbd5 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Mon, 10 Jan 2022 09:07:39 -0600 Subject: [PATCH] Update defaults.inis for Chrome's new Cache_Data dir. --- calibre-plugin/plugin-defaults.ini | 16 +++++++++------- fanficfare/defaults.ini | 16 +++++++++------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/calibre-plugin/plugin-defaults.ini b/calibre-plugin/plugin-defaults.ini index 7f502b90..9084c157 100644 --- a/calibre-plugin/plugin-defaults.ini +++ b/calibre-plugin/plugin-defaults.ini @@ -531,7 +531,9 @@ user_agent:FFF/4.X ## cache. Here are a few examples for different OS. Note that all ## have YOUR user name in them somewhere as well as a Profile name, ## frequently Default. Make sure you have personalized (and -## uncommented) ONE browser_cache_path setting. +## uncommented) ONE browser_cache_path setting. Also note that Chrome +## browsers added an additional directory level, 'Cache_Data', in +## early 2022. ## Note also that browser_cache_path goes under [defaults] because ## browser cache is read once and shared between all downloads for @@ -542,22 +544,22 @@ user_agent:FFF/4.X ## windows: ### Chrome: -#browser_cache_path:C:\Users\YourUser\AppData\Local\Google\Chrome\User Data\Default\Cache -#browser_cache_path:C:\Users\YourUser\AppData\Local\Google\Chrome\User Data\Profile 1\Cache +#browser_cache_path:C:\Users\YourUser\AppData\Local\Google\Chrome\User Data\Default\Cache\Cache_Data +#browser_cache_path:C:\Users\YourUser\AppData\Local\Google\Chrome\User Data\Profile 1\Cache\Cache_Data ### Firefox #browser_cache_path:C:\Users\YourUser\AppData\Local\Mozilla\Firefox\Profiles\ZjwI7Fo4.default\cache2 ## mac: ### Chrome: -#browser_cache_path:/Users/your.user/Library/Caches/Google/Chrome/Default/Cache -#browser_cache_path:/Users/your.user/Library/Caches/Google/Chrome/Profile 2/Cache +#browser_cache_path:/Users/your.user/Library/Caches/Google/Chrome/Default/Cache/Cache_Data +#browser_cache_path:/Users/your.user/Library/Caches/Google/Chrome/Profile 2/Cache/Cache_Data ### Firefox #browser_cache_path:/Users/your.user/Library/Caches/Firefox/Profiles/43fkezvc.default-release/cache2 ## linux: ### Chrome: -#browser_cache_path:/home/youruser/.cache/google-chrome/Default/Cache -#browser_cache_path:/home/youruser/.cache/google-chrome/Profile 1/Cache +#browser_cache_path:/home/youruser/.cache/google-chrome/Default/Cache/Cache_Data +#browser_cache_path:/home/youruser/.cache/google-chrome/Profile 1/Cache/Cache_Data ### Firefox #browser_cache_path:/home/youruser/.cache/mozilla/firefox/dk4o1y83.default-release/cache2 diff --git a/fanficfare/defaults.ini b/fanficfare/defaults.ini index b6c1eed3..00f1bbe2 100644 --- a/fanficfare/defaults.ini +++ b/fanficfare/defaults.ini @@ -524,7 +524,9 @@ user_agent:FFF/4.X ## cache. Here are a few examples for different OS. Note that all ## have YOUR user name in them somewhere as well as a Profile name, ## frequently Default. Make sure you have personalized (and -## uncommented) ONE browser_cache_path setting. +## uncommented) ONE browser_cache_path setting. Also note that Chrome +## browsers added an additional directory level, 'Cache_Data', in +## early 2022. ## Note also that browser_cache_path goes under [defaults] because ## browser cache is read once and shared between all downloads for @@ -535,22 +537,22 @@ user_agent:FFF/4.X ## windows: ### Chrome: -#browser_cache_path:C:\Users\YourUser\AppData\Local\Google\Chrome\User Data\Default\Cache -#browser_cache_path:C:\Users\YourUser\AppData\Local\Google\Chrome\User Data\Profile 1\Cache +#browser_cache_path:C:\Users\YourUser\AppData\Local\Google\Chrome\User Data\Default\Cache\Cache_Data +#browser_cache_path:C:\Users\YourUser\AppData\Local\Google\Chrome\User Data\Profile 1\Cache\Cache_Data ### Firefox #browser_cache_path:C:\Users\YourUser\AppData\Local\Mozilla\Firefox\Profiles\ZjwI7Fo4.default\cache2 ## mac: ### Chrome: -#browser_cache_path:/Users/your.user/Library/Caches/Google/Chrome/Default/Cache -#browser_cache_path:/Users/your.user/Library/Caches/Google/Chrome/Profile 2/Cache +#browser_cache_path:/Users/your.user/Library/Caches/Google/Chrome/Default/Cache/Cache_Data +#browser_cache_path:/Users/your.user/Library/Caches/Google/Chrome/Profile 2/Cache/Cache_Data ### Firefox #browser_cache_path:/Users/your.user/Library/Caches/Firefox/Profiles/43fkezvc.default-release/cache2 ## linux: ### Chrome: -#browser_cache_path:/home/youruser/.cache/google-chrome/Default/Cache -#browser_cache_path:/home/youruser/.cache/google-chrome/Profile 1/Cache +#browser_cache_path:/home/youruser/.cache/google-chrome/Default/Cache/Cache_Data +#browser_cache_path:/home/youruser/.cache/google-chrome/Profile 1/Cache/Cache_Data ### Firefox #browser_cache_path:/home/youruser/.cache/mozilla/firefox/dk4o1y83.default-release/cache2