洪海涛 2 жил өмнө
parent
commit
0e74ac639a

+ 12 - 0
.idea/dataSources.xml

@@ -8,5 +8,17 @@
       <jdbc-url>jdbc:sqlite:$PROJECT_DIR$/tutorial.db</jdbc-url>
       <working-dir>$ProjectFileDir$</working-dir>
     </data-source>
+    <data-source source="LOCAL" name="轮回乐园" uuid="85240ba3-2214-47db-ae10-b47700d17058">
+      <driver-ref>sqlite.xerial</driver-ref>
+      <synchronize>true</synchronize>
+      <jdbc-driver>org.sqlite.JDBC</jdbc-driver>
+      <jdbc-url>jdbc:sqlite:$PROJECT_DIR$/轮回乐园.db</jdbc-url>
+      <working-dir>$ProjectFileDir$</working-dir>
+      <libraries>
+        <library>
+          <url>file://$APPLICATION_CONFIG_DIR$/jdbc-drivers/Xerial SQLiteJDBC/3.39.2/sqlite-jdbc-3.39.2.jar</url>
+        </library>
+      </libraries>
+    </data-source>
   </component>
 </project>

+ 1 - 1
.idea/misc.xml

@@ -1,4 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
-  <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (simhash_test)" project-jdk-type="Python SDK" />
+  <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9" project-jdk-type="Python SDK" />
 </project>

+ 3 - 1
.idea/simhash_test.iml

@@ -3,8 +3,10 @@
   <component name="NewModuleRootManager">
     <content url="file://$MODULE_DIR$">
       <excludeFolder url="file://$MODULE_DIR$/venv" />
+      <excludePattern pattern="venv" />
     </content>
-    <orderEntry type="jdk" jdkName="Python 3.9 (simhash_test)" jdkType="Python SDK" />
+    <content url="file://$MODULE_DIR$/venv" />
+    <orderEntry type="jdk" jdkName="Python 3.9" jdkType="Python SDK" />
     <orderEntry type="sourceFolder" forTests="false" />
   </component>
 </module>

+ 0 - 1
.idea/sqldialects.xml

@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
   <component name="SqlDialectMappings">
-    <file url="file://$PROJECT_DIR$/test4.py" dialect="GenericSQL" />
     <file url="PROJECT" dialect="SQLite" />
   </component>
 </project>

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 312 - 96
data.txt


+ 1 - 1
test4.py → 轮回乐园/test4.py

@@ -18,7 +18,7 @@ def check_string(re_exp, str):
 
 
 # 链接数据库
-con = sqlite3.connect("tutorial.db")
+con = sqlite3.connect("轮回乐园.db")
 cur = con.cursor()
 
 

+ 3 - 2
test5.py → 轮回乐园/test5.py

@@ -6,7 +6,7 @@ import sqlite3
 import time
 
 # 链接数据库
-con = sqlite3.connect("tutorial.db")
+con = sqlite3.connect("轮回乐园.db")
 cur = con.cursor()
 
 
@@ -43,7 +43,7 @@ def get_more_data(title):
 
 
 # 链接数据库
-con = sqlite3.connect("tutorial.db")
+con = sqlite3.connect("轮回乐园.db")
 cur = con.cursor()
 
 
@@ -67,6 +67,7 @@ def clear_data():
         url = row[0]
         title = row[1]
         pt_next = row[2]
+        print(title);
         if is_title_in_table(title):
             all_row = get_more_data(title)
             centent = ''

BIN
tutorial.db → 轮回乐园/轮回乐园.db


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно