zhangyong hace 7 meses
padre
commit
587a9895e2
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 0 0
      spider/crawler_offline/xng_zh.txt
  2. 2 2
      spider/crawler_offline/xng_zhanghao.py

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 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)

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio