admin的头像-闪狐博客
管理员
这家伙很懒,什么都没有写...
python爬虫-闪狐博客

python爬虫

import requests import json import time from typing import Dict, List, Any class VideoScraper: def __init__(self): # 微信环境请求头 - 与test_categories.py完全相同 self.headers = { ...
22天前
03814
cocos3dx web反编译 第四篇-闪狐博客

cocos3dx web反编译 第四篇

const fs = require('fs'); const { v4: uuidv4 } = require('uuid'); // 读取文件并处理可能的错误 function readFilePromise(filePath) { return new Promise((resolve, reject) => { fs.r...
9个月前
05612
通过浏览器还原cocos 3.8 场景结构(努力中)-闪狐博客

通过浏览器还原cocos 3.8 场景结构(努力中)

let sceneinfo = cc.director.getScene(); // 获取当前场景 let children = cc.director.getScene().children;//获取当前场景所有节点 let sceneData = []; //全局定义场景存储点 // 定义一个函...
8个月前
05010
python 爬取某个小说网站-闪狐博客

python 爬取某个小说网站

import os import json import requests from urllib.parse import urljoin from bs4 import BeautifulSoup import re # 定义分类列表 bookcat = [ 'xuanhuan', 'xianxia', 'dushi', 'lishi', '...
7个月前
0378
清理sql文件中INSERT INTO 内容-闪狐博客

清理sql文件中INSERT INTO 内容

const fs = require('fs'); const path = require('path'); // 读取 SQL 文件 const sqlFilePath = path.join(__dirname, 'index.sql'); let sqlContent = fs.readFileSync(sqlFilePath, 'utf-8...
9个月前
0419
php 还原cocos加密后的uuid-闪狐博客

php 还原cocos加密后的uuid

<?php // 22位压缩后的 UUID解码配置 $BASE64_KEYS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; $values = array_fill(0, 123, 64); // max char code in base...
8个月前
0336
python 爬取某个听书网站-闪狐博客

python 爬取某个听书网站

 bookcode.txt下载txt文件13.2K # 小说信息接口 http://www.6yueting.com/web/index/xsDetail?code=802f1082 # 小说章节接口 http://www.6yueting.com/web/index/xsListdetail?code=802f1082&...
7个月前
04415
解决npm 在Vscode中无法使用的问题-闪狐博客

解决npm 在Vscode中无法使用的问题

1、在 vscode 终端执行 get-ExecutionPolicy # 返回 Restricted 说明状态是禁止的 Restricted 2、更改状态 set-ExecutionPolicy RemoteSigned 如果提示需要管理员权限,可加参数运行 Set-Execut...
9个月前
0587
cocos 获取所有节点组件信息-闪狐博客

cocos 获取所有节点组件信息

在浏览器控台输入一下代码运行即可var scene = cc.director.getScene(); var nodeList = new Array(); var total = 0; var startTime = new Date().valueOf(); var searchNode = function (node...
8个月前
0436
UNIAPP自定义底部TabBar-闪狐博客

UNIAPP自定义底部TabBar

1.项目中创建一个 components 文件夹2.文件夹中创建一个TabBar文件夹,在其中创建TabBar.vue文件3.将其源码复制到TabBar.vue中<template> <view> <view class='content' :style=...
10个月前
0645