GithubHelp home page GithubHelp logo

Comments (6)

buzai avatar buzai commented on August 30, 2024

Batch file: /Users/chen/Documents/study/zhihuspider/setup.sql
(2017-05-25 01:02:50) execution started
(2017-05-25 01:02:51) execution finished
went through 22 queries
3 errors encountered
Error at query 7: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= utf8mb4_unicode_ci NOT NULL,
content mediumtext CHARACTER SET utf8mb4 COLL' at line 21
Error at query 14: Table 'zhihu.usertopanswers' doesn't exist
Error at query 20: Table 'zhihu.usertopanswers' doesn't exist

from zhihuspider.

atonasting avatar atonasting commented on August 30, 2024

版本问题,你的mysql可能不支持mb4

from zhihuspider.

buzai avatar buzai commented on August 30, 2024

我的是 :
mysql Ver 14.14 Distrib 5.5.54, for debian-linux-gnu (armv7l) using readline 6.3
这个不行吗

from zhihuspider.

atonasting avatar atonasting commented on August 30, 2024

按说5.5.3以上就支持了,也有可能是数据库本身配置问题。你可以手工建立一个测试表试试看,如果行的话,再手工建立answers表。我用的应该是5.7

from zhihuspider.

buzai avatar buzai commented on August 30, 2024

数据库我手动把那2字段删了执行完自己加上去了又,现在发现知乎的cookie没有login字段了只有前面那个东西

from zhihuspider.

atonasting avatar atonasting commented on August 30, 2024

是的,知乎现在的样式已经和我发布爬虫时完全不同了,爬虫已经失效。我写个公告去吧。

from zhihuspider.

Related Issues (4)

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.