Giter Site home page Giter Site logo

newsspider's Issues

Scrapy 版本

你用的是什么 Scrapy 版本?起码要再README里面说明一下你的环境,或者给一个requirement.txt,至少想看看你的代码运行效果的人也能很快搭建好环境很快上手

爬取今日头条

你好,我在运行./start.sh时出现如下问题
File "/home/i-chenting/NewsSpider-master/news_spider/news_spider/spiders/TouTiaoSpider.py", line 41, in parseNews
title = articles.xpath("//div[@Class='article-header']/h1/text()").extract()[0]
IndexError: list index out of range
请问是什么原因

爬取主流新闻网站数据

有一个想法,爬取主流网站的数据。
然后显示这些网站是如何引导人们的注意力,然后塑造认知的。
并不以爬取内容展示,用可视化的方法展现。
比如知乎首页推荐内容,如果用户授权,就可以知道知乎给自己推荐的是什么内容了。

Which version of scrapy to use for this project?

I keep getting import errors, so I wonder if anyone could tell us which version of scrapy to use.

So far, the import errors including:

  • from scrapy import log
  • from scrapy.contrib.downloadermiddleware.useragent import UserAgentMiddleware

I tried scrapy 1.7.* and 1.3.0, neither helps.

Thanks.

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.