Skip to content

Commit

Permalink
chore:list order
Browse files Browse the repository at this point in the history
  • Loading branch information
Guovin committed Feb 7, 2024
1 parent 9b5f2cf commit d908062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def visitPage(self,channelItems):
allRangeElement=allRangeElement[:5]
for elem in allRangeElement:
urls.append(elem.text)
allUrls=list(set(channelObj[name] + urls if name in self.useOldList else urls))
allUrls=list(dict.fromkeys(channelObj[name] + urls if name in self.useOldList else urls))
# urls=self.compareSpeed(allUrls)
channelUrls[name]=allUrls
self.outputTxt(cate,channelUrls)
Expand Down

0 comments on commit d908062

Please sign in to comment.