豆瓣書摘 | 爬蟲 | Python
獲取豆瓣書摘,存入MongoDB中。 import logging import time import requests from bs4 import BeautifulSoup from pymongo import MongoClient headers = { 'accept': 'text/html,application/xhtml+xml,application/xml
獲取豆瓣書摘,存入MongoDB中。 import logging import time import requests from bs4 import BeautifulSoup from pymongo import MongoClient headers = { 'accept': 'text/html,application/xhtml+xml,application/xml