GithubHelp home page GithubHelp logo

mafengwo-crawlers's Issues

获取景点列表的 post 请求参数?

你好,我从 mafengwo 最新的网址发现,post 请求的参数如下:

sAct: KMdd_StructWebAjax|GetPoisByTag
iMddid: 10088
iTagId: 0
iPage: 2
_ts: 1560065307725
_sn: b1844e6a46

其中 _sn 不知道如何提供,你有什么好的建议吗?

你好 我是直接按照你的步骤来的 不知道为什么就是报错 centos7 内核 3.10.0-327.el7.x86_64 vmware虚拟机

peewee.OperationalError: (2003, "Can't connect to MySQL server on 'db' ([Errno 111] Connection refused)")
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 20
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 19
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 18
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 17
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 16
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 15
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 14
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 13
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 12
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 11
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 10
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 9
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 8
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 7
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 6
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 5
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 4
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 3
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 2
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 1
portal_1 | ℹ️ Trying to get http://www.mafengwo.cn/mdd/
portal_1 | ❌ Get http://www.mafengwo.cn/mdd/ failed
portal_1 | ℹ️ Remaining retries: 0
portal_1 | Traceback (most recent call last):
portal_1 | File "/lambda/src/main_portal.py", line 8, in
portal_1 | pc.entry()
portal_1 | File "/lambda/src/ctrl_portal.py", line 72, in entry
portal_1 | self.set_data()
portal_1 | File "/lambda/src/ctrl_portal.py", line 27, in set_data
portal_1 | attr = 'href'
portal_1 | File "/lambda/src/common/httper.py", line 90, in get_data
portal_1 | txt = self.result
portal_1 | AttributeError: 'Httper' object has no attribute 'result'
db_1 | 2018-09-18T22:09:13.347567Z 4 [Note] Aborted connection 4 to db: 'ayou' user: 'ayou' host: '172.18.0.7' (Got an error reading communication packets)
mafengwo-crawlers_portal_1 exited with code 1

请指导指导 谢谢

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.