mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-23 20:11:11 +00:00
Removed duplicate tracker tags and added 'xtor'
This commit is contained in:
parent
6a20c257e5
commit
a2c9deb250
3
twoot.py
3
twoot.py
|
@ -80,7 +80,8 @@ def _remove_tracker_params(query_str):
|
|||
"utm_source", "utm_medium", "utm_campaign", "utm_term", "utm_content",
|
||||
"mkt_tok",
|
||||
"campaign_name", "ad_set_name", "campaign_id", "ad_set_id",
|
||||
"campaign_name", "ad_set_name", "ad_set_id", "media", "interest_group_name", "ad_set_id"
|
||||
"media", "interest_group_name",
|
||||
"xtor"
|
||||
]
|
||||
query_to_clean = dict(parse_qsl(query_str, keep_blank_values=True))
|
||||
query_cleaned = [(k, v) for k, v in query_to_clean.items() if not k in params_to_remove]
|
||||
|
|
Loading…
Reference in New Issue
Block a user