From b053015289515e57d35f139e3c8d78946ef30780 Mon Sep 17 00:00:00 2001 From: "Il'ya (Marshal)" Date: Fri, 23 Apr 2021 20:44:17 +0200 Subject: [PATCH] fix set operation --- make_tracked_links_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_tracked_links_list.py b/make_tracked_links_list.py index a3336508da..207ce1d32e 100644 --- a/make_tracked_links_list.py +++ b/make_tracked_links_list.py @@ -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: