From 48e1b9cf9155540351ff8292d96dafe8c46416e7 Mon Sep 17 00:00:00 2001 From: deedy5 <65482418+deedy5@users.noreply.github.com> Date: Wed, 18 Aug 2021 12:04:19 +0300 Subject: [PATCH] Update fake_traffic.py --- fake_traffic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fake_traffic.py b/fake_traffic.py index 7ea872c..9a2c9c3 100644 --- a/fake_traffic.py +++ b/fake_traffic.py @@ -45,7 +45,8 @@ def parse_urls(response): "itunes.apple.com", "l.facebook.com", "bit.ly", "mediawiki", ".css", ".ico", ".xml", "intent/tweet", "twitter.com/share", "signup", "login", "dialog/feed?", - ".json", ".svg", ".gif", "zendesk", "clickserve",] + ".json", ".svg", ".gif", "zendesk", "clickserve", + "mailto:"] try: tree = html.fromstring(response.text) tree.make_links_absolute(response.url)