-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MysqlDB - feapder-document #29
Labels
Comments
大佬 数据库连接不支持 ssl连接 |
大佬,to_json 的时候,好像没判断是否结果为空,会导致报错。你查一下,我也不是很确定,具体是:
|
查看指定的MySQL数据库中有哪些数据表?from feapder.db.mysqldb import MysqlDB
db = MysqlDB.from_url("mysql:https://username:password@ip:port/db?charset=utf8mb4")
# 查询指定数据库下的所有数据表
tables = [tb[0] for tb in db.find("show tables;")] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://boris.org.cn/feapder/#/source_code/MysqlDB
feapder是一款支持分布式、批次采集、任务防丢、报警丰富的python爬虫框架
The text was updated successfully, but these errors were encountered: