笔记2

# -*- coding: utf-8 -*-
"""
Created on Mon Jul  8 16:59:12 2019

@author: Administrator
"""


import requests
import re
from lxml import etree
import json
import time
import random
import collections
from pymongo import MongoClient


headers = {'user-agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36'}


"""
# 提取json数据文本
pat_json = re.compile('
                    
                    

你可能感兴趣的:(笔记2)