Code Monkey home page Code Monkey logo

Comments (6)

thekingofcity avatar thekingofcity commented on June 14, 2024

看起来像是数据库字符集的问题,尝试升级mysql到最新版本并在创建database的时候指定字符集为utf8mb4。

另:项目的关键登录功能已不可用,除非以学习目的,否则不建议再投入更多精力。

from weibospider.

Shallowhave avatar Shallowhave commented on June 14, 2024

感谢你的答复!

from weibospider.

Shallowhave avatar Shallowhave commented on June 14, 2024

查询数据库的编码如下

+--------------------------------------+--------------------------------+
| Variable_name                        | Value                          |
+--------------------------------------+--------------------------------+
| character_set_client                 | utf8mb4                        |
| character_set_connection             | utf8mb4                        |
| character_set_database               | utf8mb4                        |
| character_set_filesystem             | binary                         |
| character_set_results                | utf8mb4                        |
| character_set_server                 | utf8mb4                        |
| character_set_system                 | utf8mb3                        |
| character_sets_dir                   | /usr/share/mysql-8.0/charsets/ |
| validate_password.special_char_count | 1                              |
+--------------------------------------+--------------------------------+
9 rows in set (0.00 sec)

发现默认采用的就是utf8mb4编码方式,另外重新设置weibo库的编码方式为utf8mb4,执行python3 config/create_all.py 依旧报该错误。

from weibospider.

thekingofcity avatar thekingofcity commented on June 14, 2024

好吧,那我也没有什么建议了

from weibospider.

wrongww78319 avatar wrongww78319 commented on June 14, 2024

占楼致歉,我纯小白,首先感谢开发者的项目以及教程,但是演示视频的网盘链接失效了!!!呜呜呜

from weibospider.

thekingofcity avatar thekingofcity commented on June 14, 2024

占楼致歉,我纯小白,首先感谢开发者的项目以及教程,但是演示视频的网盘链接失效了!!!呜呜呜

😂就算你跑起来了微博现在也改版了,登录以及爬取的功能应该都失效了

from weibospider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.