0xhjk / mafengwo-crawlers Goto Github PK
View Code? Open in Web Editor NEW马蜂窝分布式爬虫,用来获取目的地和景点信息
马蜂窝分布式爬虫,用来获取目的地和景点信息
你好,我从 mafengwo 最新的网址发现,post 请求的参数如下:
sAct: KMdd_StructWebAjax|GetPoisByTag
iMddid: 10088
iTagId: 0
iPage: 2
_ts: 1560065307725
_sn: b1844e6a46
其中 _sn
不知道如何提供,你有什么好的建议吗?
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
请指导指导 谢谢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.