Opengist Logo 清羽飞扬の代码片段

Explore

  • All gists
  • Topics
  • Users
个人主页 站长博客
Give feedback on the new UI Powered by Opengist ⋅ 32ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login Register
o

owo

Recently created Least recently created Recently updated Least recently updated
LiuShen

LiuShen / 生成标准化owo.json

Last active 2 months ago artalk json owo python twikoo

从基本文件格式,生成标准化JSON,用于表情包

0 0 3

整理好表情包为如下格式:

. 📂 owo
└── 📂 bilibili/
│  ├── 📄 bilibili-doge.png
│  ├── 📄 bilibili-大佬.png
│  ├── 📄 …………
└── 📂 blobcat/
│  ├── 📄 blobcat0_0.png
LiuShen

LiuShen / twikoo的表情包格式转artalk的表情包格式

Last active 2 months ago artalk json owo twikoo

twikoo的表情包格式转artalk的表情包格式

0 0 1
1 import json
2 import requests
3
4 def fetch_data_from_url(url):
5 # 获取JSON数据
6 response = requests.get(url)
7 return response.json()
8
9 def convert_data(original_data):
10 converted_data = []