File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -375,7 +375,7 @@ def ordinary(N, opts=None):
375375 )
376376 # print(imgPart1) # 和上传图片操作
377377 if imgPart1 .status_code == 200 and ".jpg" in imgPart1 .text :
378- imgurl1 = f"{ imgBasic } { imgPart1 .text } "
378+ imgurl1t = f"{ imgBasic } { imgPart1 .text } "
379379 else :
380380 imgurl1 = ""
381381 opts ["logger" ].info ("上传图片失败" )
@@ -390,7 +390,7 @@ def ordinary(N, opts=None):
390390 )
391391 # print(imgPart2) # 和上传图片操作
392392 if imgPart2 .status_code == 200 and ".jpg" in imgPart2 .text :
393- imgurl2 = f"{ imgBasic } { imgPart2 .text } "
393+ imgurl2t = f"{ imgBasic } { imgPart2 .text } "
394394 else :
395395 imgurl2 = ""
396396 opts ["logger" ].info ("上传图片失败" )
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ def getId(self) -> list:
144144 return []
145145
146146 html = etree .HTML (response .text )
147- return html .xpath ('//li[@class="gl-item"]/@data-spu ' )
147+ return html .xpath ('//li[@class="gl-item"]/@data-sku ' )
148148
149149 def getData (self , maxPage : int , score : int ):
150150 """
You can’t perform that action at this time.
0 commit comments