소스 검색

轮回乐园

洪海涛 2 년 전
부모
커밋
0e74ac639a
8개의 변경된 파일332개의 추가작업 그리고 102개의 파일을 삭제
  1. 12 0
      .idea/dataSources.xml
  2. 1 1
      .idea/misc.xml
  3. 3 1
      .idea/simhash_test.iml
  4. 0 1
      .idea/sqldialects.xml
  5. 312 96
      data.txt
  6. 1 1
      轮回乐园/test4.py
  7. 3 2
      轮回乐园/test5.py
  8. BIN
      轮回乐园/轮回乐园.db

+ 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


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.