07 2023 档案

摘要:urllib来实现cookie和ip代理 1 from urllib.request import Request, build_opener, urlopen 2 from fake_useragent import UserAgent 3 from urllib.parse import url 阅读全文
posted @ 2023-07-27 14:39 看一百次夜空里的深蓝 阅读(51) 评论(0) 推荐(0) 编辑
摘要:1 import requests 2 from time import sleep 3 from lxml import etree 4 from fake_useragent import UserAgent 5 from random import randint 6 import re 7 阅读全文
posted @ 2023-07-26 17:48 看一百次夜空里的深蓝 阅读(99) 评论(0) 推荐(0) 编辑
摘要:详细使用案例 XPath与jsonpath 1 import json 2 from lxml import etree 3 from jsonpath import jsonpath 4 5 def json_test(): 6 str1 = '{"name":"埃里克森"}' 7 # 将字符串转 阅读全文
posted @ 2023-07-25 20:41 看一百次夜空里的深蓝 阅读(52) 评论(0) 推荐(0) 编辑
摘要:服务端 1 import logging 2 import json 3 from base64 import b64encode 4 from odoo import http, SUPERUSER_ID, _ 5 from odoo.http import request 6 7 _logger 阅读全文
posted @ 2023-07-24 17:07 看一百次夜空里的深蓝 阅读(91) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示