john 8 miesięcy temu
rodzic
commit
e1736cf672

BIN
.DS_Store


+ 2 - 0
.gitignore

@@ -1,2 +1,4 @@
 全书
+全书2
+军警宪特合集典藏版
 conversion_log.txt

+ 7 - 1
README.md

@@ -1,3 +1,9 @@
 获取所有的数据
 
-extract_chmLib 色库全书\(新\).chm 全书
+extract_chmLib 色库全书\(新\).chm 全书
+
+
+
+<meta charset="UTF-8" />
+<meta http-equiv="X-UA-Compatible" content="IE=edge" viewport-fit="cover" />
+<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />

+ 5 - 2
eccode.py

@@ -49,7 +49,10 @@ def convert_encoding_in_dir(directory, dest_encoding, extensions):
     for file_path in tqdm(files_to_process, desc="转换文件编码进度", unit="文件"):
         try:
             # 自动检测文件编码
-            src_encoding = detect_file_encoding(file_path)
+            # src_encoding = detect_file_encoding(file_path)
+            src_encoding = "GB2312"
+            # if src_encoding == 'MacRoman' or src_encoding == 'ascii':
+            #     src_encoding = "GB2312"
 
             # 读取并转换文件内容
             with open(file_path, 'r', encoding=src_encoding, errors='ignore') as f:
@@ -68,7 +71,7 @@ def convert_encoding_in_dir(directory, dest_encoding, extensions):
 
 
 # 示例调用
-directory = "./都市生活"  # 替换为你的目标文件夹路径
+directory = "./全书"  # 替换为你的目标文件夹路径
 dest_encoding = "utf-8"
 extensions = ['.txt', '.html', '.htm', '.js']  # 需要处理的文件扩展名
 convert_encoding_in_dir(directory, dest_encoding, extensions)

+ 1 - 1
都市生活/index/js/ad.js

@@ -1,4 +1,4 @@
-//Ë«»÷¹öÆÁ
+//双击滚屏
 var currentpos, timer;
 function initialize(){
   timer = setInterval("scrollwindow()", 50);

+ 1 - 1
都市生活/index1/jscss/biao2.js

@@ -2,7 +2,7 @@ var speed = 5;
 var currentpos=1;
 var timer;
 
-function img_zoom(e, o)		//ͼƬÊó±ê¹öÂÖËõ·Å
+function img_zoom(e, o)		//图片鼠标滚轮缩放
 {
 	var zoom = parseInt(o.style.zoom, 10) || 100;
 	zoom += event.wheelDelta / 12;

Plik diff jest za duży
+ 0 - 0
都市生活/index2/jscss/biao1.js


+ 1 - 1
都市生活/index2/jscss/biao2.js

@@ -2,7 +2,7 @@ var speed = 5;
 var currentpos=1;
 var timer;
 
-function img_zoom(e, o)		//ͼƬÊó±ê¹öÂÖËõ·Å
+function img_zoom(e, o)		//图片鼠标滚轮缩放
 {
 	var zoom = parseInt(o.style.zoom, 10) || 100;
 	zoom += event.wheelDelta / 12;

+ 1 - 1
都市生活/index4/ad.js

@@ -1,4 +1,4 @@
-//Ë«»÷¹öÆÁ
+//双击滚屏
 var currentpos, timer;
 function initialize(){
   timer = setInterval("scrollwindow()", 50);

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików