鱼C论坛

 找回密码
 立即注册
楼主: jerryxjr1220

[作品展示] 【python爬虫应用】爬京东上的小米5的2600多条差评数据

  [复制链接]
发表于 2016-11-6 01:10:14 | 显示全部楼层
好厉害啊...
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2016-11-6 08:15:37 | 显示全部楼层
Traceback (most recent call last):
  File "E:/小甲鱼作业/差评数据爬虫.py", line 1, in <module>
    import requests as rs
ModuleNotFoundError: No module named 'requests'
报错怎么回事
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2016-11-6 08:26:46 | 显示全部楼层
cjq 发表于 2016-11-6 08:15
Traceback (most recent call last):
  File "E:/小甲鱼作业/差评数据爬虫.py", line 1, in
    import  ...

你没有装requests库,去pypi.python.org下载Requests库,或者用pip install Requests 安装
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2016-11-6 09:25:37 | 显示全部楼层
jerryxjr1220 发表于 2016-11-6 08:26
你没有装requests库,去pypi.python.org下载Requests库,或者用pip install Requests 安装



  search
PACKAGE INDEX
Browse packages
Package submission
List trove classifiers
RSS (latest 40 updates)
RSS (newest 40 packages)
PyPI Tutorial
PyPI Security
PyPI Support
PyPI Bug Reports
PyPI Discussion
PyPI Developer Info
ABOUT
NEWS
DOCUMENTATION
DOWNLOAD
COMMUNITY
FOUNDATION
CORE DEVELOPMENT
Package Index
Not Logged In
Login
Register
Lost Login?
Use OpenID  Launchpad
Login with GoogleGoogle Login

Status
Nothing to report
Index of Packages Matching 'requests'

Package        Weight*        Description
awsrequests 0.0.11        9        For making signed requests to AWS API Gateway endpoints
cache_requests 4.0.0        9        Simple. Powerful. Persistent LRU caching for the requests library.
curl_to_requests 1.0.1        9        Converts cURL commands into equivalent Python Requests code
drequests 1.3        9        The descusr web application development framework, a drequests project
helga-pull-requests 0.0.5        9        A helga plugin to quickly link to github pull requests.
jsonrpc-requests 0.3        9        A JSON-RPC client library, backed by requests
noseapp_requests 0.0.2        9        requests extension for noseapp lib
requests 2.11.1        9        Python HTTP for Humans.
requests-aws4auth 0.9        9        AWS4 authentication for Requests
requests-aws4auth-redux 0.40        9        AWS4 authentication for Requests
requests-cache 0.4.12        9        Persistent cache for requests library
requests-cache-latest 0.4.12        9        Persistent cache for requests library
requests-chef 0.1.7        9        Chef Authentication protocol support for Python-Requests
requests-cloud-auth 0.0.2        9        A collection of authentication extensions for Requests
requests-cloudkit 0.1.5        9        Apple CloudKit server-to-server support for the requests Python library.
requests-guard 0.1.0        9        requests-guard is a small library that allows you to impose size and time limits on your HTTP requests.
requests-hawk 1.0.0        9        requests-hawk
requests-oauth 0.4.1        9        Hook for adding Open Authentication support to Python-requests HTTP library.
requests-oauth2 0.2.0        9        Open Authentication 2 support to Python-requests HTTP library.
requests-testadapter 0.3.0        9        Provides an adapter for mocking HTTP requests for unit test purposes.
requests_reviewer 0.1.1        9        Take a HTTP response from requests and adjust the return code based on ISP suspension messages, CDN overload messages and similar
robotframework-requests 0.4.5        9        Robot Framework keyword library wrapper around requests
urequests 0.1.2        9        HTTP Library with a similar interface to python-requests. Particularly well suited for usage with MicroPython.org
requests-aws-sign 0.1.1        8        This package provides AWS V4 request signing using the requests library.
requests_srv 0.0.3        8        A wrapper for Requests supporting DNS SRV records.
requestsplus 0.0.2        8        RequestsPlus is based on requests package, adding default retries, timeout, and auto-sleeping when requesting from a url
torequests 2.2.1        8        Asynchronous requests. Using concurrent.futures to make requests async(like Tomorrow), and some functions to make async-coding easy. read more :https://github.com/ClericPy/torequests
aiorequests 0.1.1        7        A requests-like API built on top of aiohttp client
aws-requests-auth 0.3.0        7        AWS signature version 4 signing process for the python requests module
careful-requests 0.1.4        7        Requests for header-sensitive servers (like Accept-Encoding)
django-requests-panel 0.4.1        7        A Django Debug Toolbar panel for requests
erequests 0.4.1        7        Requests + Eventlet
gcloud-requests 0.12.1        7        Thread-safe client functionality for gcloud-python via requests.
grequests 0.3.0        7        Requests + Gevent
logged_requests 0.4        7        Simple wrapper around the requets library
magicrequests 0.1.0        7        Requests + Magic
notrequests 0.7        7        Like Requests, but using urllib / urllib2.
openweathermap_requests 0.0.5        7        openweathermap requests fetch weather history Pandas DataFrame
requests-aeaweb 0.0.1        7        Requests wrapper to log onto AEAweb.org.
requests-auth-mashery 0.0.4        7        Mashery authentication for requests
requests-aws 0.1.8        7        AWS authentication for Amazon S3 for the python requests module
requests-awsv2-auth 1.0        7        AWS v2 auth support for Python-Requests.
requests-crtauth 0.4        7        A crtauth authentication plugin for Python Requests.
requests-dump 0.1.3        7        `requests-dump` provides hook functions for requests.
requests-exoscale-auth 1.0        7        Exoscale APIs support for Python-Requests.
requests-facebook 0.4.0        7        A Python Library to interface with Facebook Graph API
requests-facebook-py3 0.2.1        7        A Python Library to interface with Facebook Graph API
requests-file 1.4.1        7        File transport adapter for Requests
requests-foauth 0.1.1        7        Requests TransportAdapter for foauth.org!
requests-ftp 0.3.1        7        FTP Transport Adapter for Requests.
requests-jwt 0.4        7        This package allows for HTTP JSON Web Token (JWT) authentication using the requests library.
requests-kerberos 0.11.0        7        A Kerberos authentication handler for python-requests
requests-middleware 0.1.2        7        Composable HTTP middleware for requests
requests-mock 1.1.0        7        Mock out responses from the requests package
requests-nber 0.0.1        7        Requests wrapper to log onto NBER.org.
requests-negotiate 1.4.1        7        Negotiate authentication for the requests HTTP client library
requests-negotiate-sspi 0.2.2        7        This package allows for Single-Sign On HTTP Negotiate authentication using the requests library on Windows.
requests-oauthlib 0.7.0        7        OAuthlib authentication support for Requests.
requests-raven 0.0.1        7        Requests wrapper to log onto Raven (University of Cambridge).
requests-respectful 0.2.0        7        Minimalist wrapper on top of Requests to work within rate limits of any amount of services simultaneously. Parallel processing friendly.
requests-robotstxt 0.1.0        7        Brings automatic support for robots.txt files in requests.
requests-toolbelt 0.7.0        7        A utility belt for advanced users of python-requests
requests-twisted 0.1.2        7        Twisted adapter for the requests library.
requests-unixsocket 0.1.5        7        Use requests to talk HTTP via a UNIX domain socket
requests-wsgi-adapter 0.2.2        7        WSGI Transport Adapter for Requests
requests_extensions.adapters 0.1.2        7        Adds dynamic loading and selection of adapters to requests
requests_logger 0.2.0        7        Wrapper around Requests to add logging
requests_mauth 1.0.0        7        An MAuth client based around the excellent requests library.
requests_ntlm 0.3.0        7        This package allows for HTTP NTLM authentication using the requests library.
requests_proxy 0.1        7        A WSGI Proxy using requests
requests_spider 0.0.2        7        Just a simple requests wrapper for general purpose spider.
requests_viewer 0.0.8        7        requests_viewer!
requestsexceptions 1.1.3        7        Import exceptions from potentially bundled packages in requests.
RequestsThrottler 0.2.4        7        Python HTTP requests throttler
robotframework-extendedrequestslibrary 0.5.5        7        Extended HTTP client testing library for Robot Framework with OAuth2 support
scrapy-inline-requests 0.3.1        7        A decorator for writing coroutine-like spider callbacks.
selenium-requests 1.3        7        Extends Selenium WebDriver classes to include the request function from the Requests library, while doing all the needed cookie and request headers handling.
simple-requests 1.1.1        7        Asynchronous requests in Python without thinking about it.
stripe-requests 1.9.1-rc1        7        Stripe python bindings using requests
suds_requests 0.3        7        A suds transport implemented with requests
trequests 0.9.5        7        A Tornado async HTTP/HTTPS client adaptor for python-requests
yieldfrom.requests 0.1.3        7        asyncio port of Requests: "Python HTTP for Humans".
zymbit-trequests 0.9.5        7        A Tornado async HTTP/HTTPS client adaptor for python-requests
arequests 0.1.0        6        Agnostic API classes for Requests.
BeautifulRequests 0.2        6        Combine Beautiful Soup 4 and Requests for one super library
ckanext-datarequests 0.3.2        6        CKAN Extension - Data Requests
dsb_requests 0.9.9        6        duoshoubang 's requests
micropython-urequests 0.4.1        6        urequests module for MicroPython
nav-requests 1.0.1        6        Make Microsoft Dynamics NAV Web Services requests
requests-circuit 0.1.0        6        A circuit breaker for Python requests
requests-credssp 0.0.1        6        HTTPS CredSSP authentication with the requests library.
requests-lb 0.2.3        6        A load-balancing wrapper around requests
requests-runscope 0.1.6        6        This package adds Runscope support to the Python Requests library.
requests-vzauth 0.1.0        6        Verizon Cloud authentication handler for requests.
requests_cache_mongodb 0.0.5        6        requests session cache with mongodb backend
requests_debug 0.2.2        6        Adds logging and timing for the requests library
requests_download 0.1.1        6        Download files using requests and save them to a target path
SimpleRequests 0.2        6        request url for json type
vk-requests 0.9.6        6        vk.com requests for humans. API library for vk.com
advocate 0.6.2        5        A wrapper around the requests library for safely making HTTP requests on behalf of a third party
CacheControl 0.11.7        5        httplib2 caching for requests
django-audit-tools 0.4.0        5        Django application that provides a set of tools for auditing requests and models and improve logging
django-batch-requests 0.1.1        5        Create batch APIs for Django.
django-detective 0.6.3        5        Django app that tracks all user requests.
django-throttle-requests 0.5.4        5        A Django framework for application-layer rate limiting
floscraper 0.1.15a1        5        Simple webscraper built on top of requests and beautifulsoup
ftw.bridge.proxy 1.1.1        5        A pyramid based proxy application for proxying requests between plone instances.
httmock 1.2.5        5        A mocking library for requests.
pandas_datareaders_unofficial 0.0.4        5        Pandas DataReaders with requests and requests-cache
parse-requests 1.0.7        5        parse-rest-python - A fast and simple Python library to interact with Parse.com REST API
proxapy 0.1.5        5        Simple API proxy that uses Flask/requests/gunicorn.
PyGithub-requests 1.26.0        5        Use the full Github API v3
ravenclient 0.6        5        A python requests adapter to automatically login to the Cambridge University Raven Login
requests-aliyun 0.2.4        5        authentication for aliyun service
requests-bce 0.0.5        5        authentication for bce service
requests-expects 0.1.0        5        Expects plugin for HTTP request and response assertions
requests-forecast 0.6.2        5        A minimalist Forecast.io API client.
requests-futures 0.9.7        5        Asynchronous Python HTTP for Humans.
requests-transition 1.0.4.0        5        Python HTTP for busy people who don't have time to resolve version conflicts yet.
requests-ucloud 0.3.1        5        authentication for ucloud service
requests_extension 0.0.0        5        Someone sent a PR and this is my response
requests_netdna 0.13.6        5        Python HTTP for Humans.
requests_SSL_v3 2.1.0        5        Python HTTP for Humans.
robotframework-ifhttplibrary 1.0.0        5        Interface test library for Robot Framework Extended with requests and verify the result
twitterspawn 0.2.0        5        Asynchronous, concurrent requests to the Twitter REST API, that respect Twitter's rate limits, using gevent and requests.
txrequests 0.9.5        5        Asynchronous Python HTTP for Humans.
zenodo-accessrequests 1.0.0a1        5        Zenodo module for providing access request feature.
ahoyhoy 4.0.2        4        Python client for service requests
apiclient-requests 0.1.2        4        A simple python base package for building good api clients on
autoauth 1.0.2        4        authentication in urllib2 and requests for the command line
BoundRequests 0.0        4        HTTP Request Library that Supports Interface Binding
django-rescuests 0.2.3        4        A framework sending, tracking and retrying REST requests in Django.
jsonapi-requests 0.1        4        Python client implementation for json api. http://jsonapi.org/
qtrequests 0.0.6        4        QtNetwork for humans and robots!
requeston 0.0.3        4        Create and manage apps services requests with python
requrests 0.1.0        4        Requests is a small library designed to enable generic access to well-written RESTful APIs
下载那个。不懂英文
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2016-11-6 17:17:28 | 显示全部楼层
6666666
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2016-11-6 17:50:51 | 显示全部楼层
6666666666666666666
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2016-11-7 10:35:27 | 显示全部楼层
好牛B
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2016-11-7 11:00:38 | 显示全部楼层
高人,先记下来~
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2016-11-7 11:46:19 | 显示全部楼层
学习中
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2016-11-7 17:17:07 | 显示全部楼层
学习了!
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2016-11-7 17:20:13 | 显示全部楼层
附件是离开房间乱收费
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2016-11-7 17:44:43 | 显示全部楼层
看下!!!!
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

发表于 2016-11-7 19:53:54 | 显示全部楼层
学习学习
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2016-11-7 20:16:07 | 显示全部楼层
哈哈哈哈 有意思
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2016-11-7 21:03:47 | 显示全部楼层
我想看
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2016-11-7 21:45:02 | 显示全部楼层
好牛的样子
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2016-11-7 22:27:04 | 显示全部楼层
怎么解决模拟登陆问题呀
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2016-11-7 22:48:50 | 显示全部楼层
学习
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

发表于 2016-11-7 23:32:07 | 显示全部楼层
谢谢分享,学习学习!
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2016-11-8 10:28:57 | 显示全部楼层
很不错!!!!
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-4-27 19:23

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表