摘要: import requests import json from fake_useragent import UserAgent import time import urllib.parse def main(api_url, author, total_pages,cookie): # 创建伪装 阅读全文
posted @ 2023-09-23 09:45 brady-wang 阅读(1117) 评论(0) 推荐(0) 编辑
摘要: //*[@id="submit-video-list"]/ul[2]/li/a[1]/@href 阅读全文
posted @ 2023-05-23 09:09 brady-wang 阅读(54) 评论(0) 推荐(0) 编辑
摘要: package main import ( "encoding/base64" "io/ioutil" "os" "strings" ) func main() { cc, _ := ioutil.ReadFile("a.png.txt") //解压 i := strings.Index(strin 阅读全文
posted @ 2022-09-13 09:41 brady-wang 阅读(1757) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-02-25 15:29 brady-wang 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 我这边测试直接合成音质有问题分两步正常 先把音频分离出来ffmpeg -i "audio.m4a" -acodec copy "tmp_audio.aac" 然后把原始视频和上一步得到的aac组装到一起ffmpeg -i "video.mp4" -i "tmp_audio.aac" -c copy 阅读全文
posted @ 2022-02-01 13:15 brady-wang 阅读(800) 评论(0) 推荐(0) 编辑
摘要: #!encoding=utf-8 from lxml import etree from selenium import webdriver from selenium.webdriver.chrome.options import Options options = Options() No_Im 阅读全文
posted @ 2022-01-30 11:16 brady-wang 阅读(691) 评论(0) 推荐(0) 编辑
摘要: 谷歌浏览器 猫爪插件 m3u8 视频在线提取工具 m3u8到底是什么格式?一篇文章搞定m3u8下载 注入代码 // 注入html let $section = document.createElement('section') $section.innerHTML = `<!doctype html 阅读全文
posted @ 2022-01-27 16:58 brady-wang 阅读(1806) 评论(0) 推荐(0) 编辑
摘要: with open("headers.html","w",encoding="utf-8")as f: 阅读全文
posted @ 2022-01-27 09:36 brady-wang 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 一般都是在向 slice 追加了元素之后,才会引起扩容。追加元素调用的是 append 函数。 先来看看 append 函数的原型: func append(slice []Type, elems ...Type) []Type append 函数的参数长度可变,因此可以追加多个值到 slice 中 阅读全文
posted @ 2022-01-25 15:39 brady-wang 阅读(126) 评论(0) 推荐(1) 编辑
摘要: map 在扩容后,会发生 key 的搬迁,原来落在同一个 bucket 中的 key,搬迁后,有些 key 就要远走高飞了(bucket 序号加上了 2^B)。而遍历的过程,就是按顺序遍历 bucket,同时按顺序遍历 bucket 中的 key。搬迁后,key 的位置发生了重大的变化,有些 key 阅读全文
posted @ 2022-01-25 15:24 brady-wang 阅读(317) 评论(0) 推荐(0) 编辑