Kovid Goyal
53b74283a4
sort imports in all python files
2024-03-30 13:02:22 +05:30
Ori Avtalion
5bd831665a
Replace deprecated urlopen cafile parameter
2024-02-03 14:04:06 +02:00
Ori Avtalion
8c4e937dc8
Remove deprecated utcnow, utcfromtimestamp
2023-11-16 22:45:56 +02:00
Kovid Goyal
f5b35bb97e
Remove list of chrome/firefox versions from user agent data
...
The upstream data source (Wikipedia) was deleted and these arent currently used
anyway
2023-04-26 08:51:57 +05:30
Kovid Goyal
5b61049860
Remove spurious python-requests entry from common user agents
2022-07-15 22:35:41 +05:30
Kovid Goyal
24c460faec
also upgrade code in setup folder
2022-01-08 12:15:18 +05:30
Eli Schwartz
887f620406
py3 porting cleanup: remove unneeded indirect import of builtins
...
filter, map, range, and zip were proxied through polyglot.builtins to
ensure that their `future_builtins` forms were used. In python3 this is
no longer needed and they don't need to be imported at all, from
anywhere. So, don't.
2021-10-20 21:43:43 -04:00
Kovid Goyal
abfc9ffe23
Get chrome and firefox version on CI as well
2020-12-27 11:01:28 +05:30
Kovid Goyal
e742a9e293
Get recent UAs on CI as well
2020-12-27 10:59:47 +05:30
Kovid Goyal
18a3d945c6
Get common user agents from the calibre website logs
2020-12-27 10:21:14 +05:30
Kovid Goyal
01b0fba8ad
Auto fix excess blank lines
2020-08-22 18:47:56 +05:30
Kovid Goyal
9ff27782de
Remove useless __future__ imports
...
Not needed on python3
2020-08-22 18:47:55 +05:30
Kovid Goyal
29cd8d64ea
Change shebangs to python from python2
...
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30
Eli Schwartz
bb4438eca3
fix recent_uas due to firefox site changes
2019-04-18 10:32:32 -04:00
Kovid Goyal
ccb0391844
Change the source for recent user agent data
...
The old source no longer works
2019-04-01 18:08:29 +05:30
Eli Schwartz
13d236f556
python3: make recent_uas build
2019-03-24 00:54:58 -04:00
Kovid Goyal
caac92bbd8
A larger pool of random UAs
2017-02-28 21:20:21 +05:30