Code Monkey home page Code Monkey logo

e-hentaicrawler's Issues

关于 new_datatable.py 的一点小问题

E-HentaiCrawler/database/newdatabase 目录中,执行 python3.6 new_datatable.py 后报错如下:

Traceback (most recent call last):
  File "new_datatable.py", line 2, in <module>
    from database.link_database import link_database
ModuleNotFoundError: No module named 'database'

小白求教...

最终还是没跑起来,反馈几个问题

  1. 需要安装的包描述太少了,pip install requests pymysql bs4
  2. 建表的语句是错的,一堆verchar应该是varchar
  3. config中的TARGET里有个字符串没加引号

最后没跑起来的原因是macOS上python3的qi.qsize()是不能用的……我只是想做一些数据上的分析,你能不能直接dump一个最新的数据表给我算了,可以的话我单独和你联系……

程序运行bug: "IndexError: list index out of range"

配置后无法运行源代码,提示如下:
Traceback (most recent call last):
File "E:/BLMYX/Python/E-HentaiCrawler/Proxy/IPPool.py", line 85, in getip_from_pool
timeout = 5).json()[0]
IndexError: list index out of range
经过调试,发现是IPPool.py中getip_from_pool()函数返回调用requests函数传入的URL参数有误,删除网址后边多出的空格即可。(楼主大大可以调一下?哇这边初学者研究了好久orz

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.