随笔分类 -  翻译

翻译英文
摘要:import hashlib import random import time import requests from lxml import etree def get_random_agent(): agent_list = [ "Mozilla/4.0 (compatible; MSIE 阅读全文
posted @ 2021-11-25 18:09 167 阅读(196) 评论(0) 推荐(0)
摘要:BaiduTranslate.js(百度翻译所需的js代码) function a(r) { if (Array.isArray(r)) { for (var o = 0, t = Array(r.length); o < r.length; o++) t[o] = r[o]; return t } 阅读全文
posted @ 2021-11-25 18:07 167 阅读(1585) 评论(0) 推荐(0)
摘要:import json import time import requests from lxml import etree class YeeKit: def __init__(self): self.headers = { 'Content-Type': 'application/json; c 阅读全文
posted @ 2021-11-25 18:07 167 阅读(118) 评论(0) 推荐(0)