zhangyong il y a 11 mois
Parent
commit
587a9895e2
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 0 0
      spider/crawler_offline/xng_zh.txt
  2. 2 2
      spider/crawler_offline/xng_zhanghao.py

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
spider/crawler_offline/xng_zh.txt


+ 2 - 2
spider/crawler_offline/xng_zhanghao.py

@@ -166,9 +166,9 @@ class XNGZH(object):
                     with open(file_path, 'r') as file:
                         content = file.read()
                     if content and content[-1] != ',':
-                        m_id = ',' + str(m_id)
+                        pq_uid = ',' + str(pq_uid)
                     with open(file_path, 'a') as file:
-                        file.write(m_id)
+                        file.write(pq_uid)
                     with open(file_path, 'r') as file:
                         content = file.read()
                 time.sleep(1)

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff