View Single Post
Old 04-02-2023, 05:22 PM   #4
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,731
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Hi Kovid,

So a user kindly put some code in for me making use of a random_chome_user_agent() function from random_ua.py. However someone else then tells me that this was only added in calibre 6.

Looking at the history I can see there was previously a random_chrome_ua() function from back in 2017 - can you please give me a rough min version of calibre I could use for calling that as a fallback? Trying not to force calibre 6 as a min version for widest possible support.
kiwidude is offline   Reply With Quote