mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-11-22 07:19:34 +01:00
fix set operation
This commit is contained in:
parent
e405720ce6
commit
b053015289
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ async def main(url: str):
|
|||
absolute_links = cleanup_links(find_absolute_links(html))
|
||||
relative_links = cleanup_links(find_relative_links(html, url))
|
||||
|
||||
sub_links = absolute_links + relative_links
|
||||
sub_links = absolute_links | relative_links
|
||||
for link in sub_links:
|
||||
await asyncio.create_task(main(link))
|
||||
elif 'application/javascript' in content_type:
|
||||
|
|
Loading…
Reference in a new issue