1
0
naibo 2 жил өмнө
parent
commit
31c53617de

+ 1 - 1
ExecuteStage/.vscode/launch.json

@@ -12,7 +12,7 @@
             "justMyCode": false,
             //  "args": ["--id", "[7]", "--read_type", "remote", "--headless", "0"]
             // "args": ["--id", "[9]", "--read_type", "remote", "--headless", "0", "--saved_file_name", "YOUTUBE"]
-            "args": ["--id", "[83]", "--headless", "0", "--user_data", "1", "--keyboard", "0"]
+            "args": ["--id", "[7]", "--headless", "0", "--user_data", "1", "--keyboard", "0"]
         }
     ]
 }

+ 1 - 1
ExecuteStage/easyspider_executestage.py

@@ -1563,7 +1563,7 @@ class BrowserThread(Thread):
                     if relativeXPath.find("/@href") >= 0 or relativeXPath.find("/text()") >= 0 or relativeXPath.find("::text()") >= 0:
                         content_type = ""
                     elif p["nodeType"] == 2:
-                        content_type = "/@href"
+                        content_type = "//@href"
                     elif p["contentType"] == 1:
                         content_type = "/text()"
                     elif p["contentType"] == 0: