Giter Club home page Giter Club logo

allnewsspider's Issues

可以考虑分享源码吗?

@inspurer作者你好,非常感谢你的分享。
我注意到sina和tencent新闻爬取的分类只有科技、娱乐、军事和财经四类,我想请问有办法把所有的分类爬取下来吗,譬如体育、汽车、教育等等。另外,除了.pyd文件外,您可以分享下源码吗,谢谢。

无法找到库文件,需要帮助

平台:vscode,liunx
image

程序:
import sys,os
sys.path.append("/othercode/lizi/1/AllNewsSpider/pengpai")
print(sys.path)
print(os.path.realpath('.'))
import pengpai_news_spider
pengpai_news_spider.main()
控制台:
(mypy366) coder@codercom-code-server1:/othercode/lizi/1/AllNewsSpider/pengpai$ /home/coder/micromamba/envs/mypy366/bin/python /othercode/lizi/1/AllNewsSpider/pengpai/runner.py
['/othercode/lizi/1/AllNewsSpider/pengpai', '/home/coder/micromamba/envs/mypy366/lib/python36.zip', '/home/coder/micromamba/envs/mypy366/lib/python3.6', '/home/coder/micromamba/envs/mypy366/lib/python3.6/lib-dynload', '/home/coder/micromamba/envs/mypy366/lib/python3.6/site-packages', '/othercode/lizi/1/AllNewsSpider/pengpai']
/othercode/lizi/1/AllNewsSpider/pengpai
Traceback (most recent call last):
File "/othercode/lizi/1/AllNewsSpider/pengpai/runner.py", line 13, in
import pengpai_news_spider
ModuleNotFoundError: No module named 'pengpai_news_spider'

纽约时报爬取失败

1641401308(1)

您好,尝试爬取纽约时报的时候,运行了一下就自动终止了。尝试过不同的关键词和起止日期,都是一样的错误(如图)

能否帮忙看下?谢谢

请问两个问题

一、澎湃新闻等spider可以设置关键字搜索吗?

二、百度新闻能否获取新闻全文?

谢谢!

pyd module找不到问题

您好,感谢构建爬虫。在使用thetime爬虫的时候已经把thetime_news_spider.pyd跟runner.py放到一个目录里面了,但是还是显示No module named 'thetime_news_spider'。求解答!

Screen Shot 2021-04-03 at 3 12 56 PM

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.