Skip to content

Commit

Permalink
发布v1.0.1版本
Browse files Browse the repository at this point in the history
  • Loading branch information
GamerNoTitle committed Apr 21, 2020
1 parent 998e48a commit 6c8be71
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@

如果你想加入新的表情包,并且你有图片,请你Fork本项目,上传自己的图片并提交PR(这可能需要一点git知识)

如果你想加入新的表情包,但是你没有图片,有相关的网站,请你在下面填写↓
如果你想加入新的表情包,但是你没有图片,有相关的网站,请你在下面填写↓ 例子[#1](https://github.com/GamerNoTitle/Valine-Magic/issues/1)

表情链接:

表情列表:[]

---

Expand Down
9 changes: 5 additions & 4 deletions BQB-Link-List-Generate.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os
localpath = 'D:\OneDrive - 87ouo,Inc\Github\Picture-repo-v1\img\BQB'
remotepath = 'https://cdn.jsdelivr.net/gh/GamerNoTitle/Picture-repo-v1@master/img/BQB/'
# localpath = 'G:\Code\Valine-Magic\BQB'
remotepath = 'https://bqb1.bili33.top/'
prefix= ''
def findAllFile(base):
for root, ds, fs in os.walk(base):
for f in fs:
Expand All @@ -11,9 +12,9 @@ def main():
linklist=[]
num=1
for i in findAllFile(base):
linklist.append('custom{}: '.format(num)+ remotepath + "{}" .format(i))
linklist.append(prefix + str(num)+ ': \"' + remotepath + prefix+ '/' + i + '\"')
num=num+1
print(str(linklist).replace(',\', \'',', '))
print(str(linklist).replace(',\', \'',', ').replace('\', \'',', '))
# print(linklist)
if __name__ == '__main__':
main()
Empty file added BQB/.gitkeep
Empty file.
16 changes: 16 additions & 0 deletions Download.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import requests as r
import os
BQBlist=[]
url= ""
series_name= ''
def imgdl(url, BQBlist):
for i in range(len(BQBlist)):
image = r.get(url+BQBlist[i]).content
try:
with open('BQB/{}/'.format(series_name) + BQBlist[i], 'wb') as f:
f.write(image)
except FileNotFoundError:
os.makedirs('BQB/'+series_name)
with open('BQB/{}/'.format(series_name) + BQBlist[i], 'wb') as f:
f.write(image)
imgdl(url, BQBlist)
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,22 @@ PR要求:文件夹和文件名字为英文,文件夹内除了图片无任何

## 更新日志

### 2020/4/21 V1.0.1

**Valine 1.4.4**

版本js地址:https://cdn.jsdelivr.net/gh/GamerNoTitle/Valine-Magic@master/js/1.0.1/valine.min.js

更新了alu系列表情包([#1](https://github.com/GamerNoTitle/Valine-Magic/issues/1)),删除了使用频率较低的系列表情,被删除的表情显示不受影响,仍可继续使用

表情包会丢在coding的[仓库](https://gamernotitle.coding.net/p/Valine-BQB1/)里面,本仓库只用于发布新版本

修改了python脚本,使得更易使用,加入下载用的python脚本

### 2020/4/19 V1.0

**基于Valine 1.4.4**

版本js地址:https://cdn.jsdelivr.net/gh/GamerNoTitle/[email protected]/js/valine.min.js

启动Valine-Magic项目,将原本Valine的表情替换为B站现有的表情包,加入判断为QQ邮箱则显示QQ头像的功能(参考[https://blog.csdn.net/cungudafa/article/details/104638730](https://blog.csdn.net/cungudafa/article/details/104638730)
Expand Down
37 changes: 37 additions & 0 deletions js/1.0.1/valine.min.js

Large diffs are not rendered by default.

0 comments on commit 6c8be71

Please sign in to comment.