You should make sure that the crawler is able to be run on Windows server manually. And to note that to make sure selenium runs […]
Selenium Fix “Chrome version must be between 70 and 73”
Issue Sometimes, the local chromedriver version is larger than expected by Selenium. Fix Download a version that is required from this page, uncompress it. And […]
Filepath of Executing File
The default file path for python is the path of ‘__main__‘, regardless of where the called module is located. To know where the module is, […]
Troubleshoot for peewee
ImproperlyConfigured: MySQL driver not installed You may refer to MySQL API Dependency Installation to install the MySQL Drivers. This issue is stated at ImproperlyConfigured: MySQL […]
MySQL API Dependency Installation for peewee
When using peewee with MySQL, 2 types of API can be used, one is pymysql, another is mysqlclient. They can be used as alternatives, but […]
Dynamically Defining a Database in peewee
In most of the cases, predefining the database if fine, as in the official Quickstart tutorial, following are the 2 major ways, database proxy and […]
Peewee Mod Operator Overload
Mod(modulo) operation is not officially defined for peewee database query. To use the “MOD“ operator, we have to override the operator by ourselves.1 After this, […]