Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🛒 Aliexpress rules need enhancement #17

Open
backed80405 opened this issue Jun 26, 2021 · 3 comments · May be fixed by #122
Open

🛒 Aliexpress rules need enhancement #17

backed80405 opened this issue Jun 26, 2021 · 3 comments · May be fixed by #122

Comments

@backed80405
Copy link

backed80405 commented Jun 26, 2021

still have these parameters,pls fix

example 1:
https://www.aliexpress.com/item/4001147595415.html?pvid=61933b68-35f5-4820-98d0-0eaef897172d&_t=gps-id:pcDetailBottomMoreOtherSeller,scm-url:1007.33416.213724.0,pvid:61933b68-35f5-4820-98d0-0eaef897172d,tpp_buckets:668%230%23131923%230_668%23888%233325%2312_23416%230%23213724%230_23416%234721%2321967%23832_23416%234722%2321972%238_668%232846%238109%231935_668%235811%2327177%2329_668%232717%237561%23355_668%231000022185%231000066058%230_668%233422%2315392%23473_4452%230%23226710%230_4452%233474%2315675%23357_4452%234862%2324463%23590_4452%233098%239599%23112_4452%235108%2323442%23551_4452%233564%2316062%23817

@backed80405
Copy link
Author

backed80405 commented Jun 26, 2021

example 2:
https://www.aliexpress.com/item/1005002315715116.html?algo_exp_id=15a27a48-0762-4dee-a308-b2868ee8f632-6

@backed80405 backed80405 changed the title Aliexpress rules need enhancement . Aliexpress 🛒 rules need enhancement . Jun 26, 2021
@backed80405 backed80405 changed the title Aliexpress 🛒 rules need enhancement . 🛒 Aliexpress rules need enhancement . Jun 26, 2021
@backed80405 backed80405 changed the title 🛒 Aliexpress rules need enhancement . 🛒 Aliexpress rules need enhancement Jun 26, 2021
@aha999
Copy link

aha999 commented Mar 15, 2022

Just noticed this issue on my side and searched for it here... There's also another issue for this here: ClearURLs/Addon#81
I have this link: https://www.aliexpress.com/item/1005001472307338.html?algo_exp_id=b13fd996-02c2-4b2c-94c9-26ec25eb7f8d-2&pdp_ext_f=%7B%22sku_id%22%3A%2212000016265829061%22%7D&pdp_pi=-1%3B13.8%3B-1%3B2.35%40salePrice%3BEUR%3Bsearch-mainSearch

How the link should look like:
https://www.aliexpress.com/item/1005001472307338.html

maybe @KevinRoebert can help...

Edit: another: https://www.aliexpress.com/item/32799226539.html?pvid=c39045ba-fbad-4b93-bdd3-4d0e6ab59793&_t=gps-id%3ApcDetailBottomMoreThisSeller%2Cscm-url%3A1007.13339.274681.0%2Cpvid%3Ac39045ba-fbad-4b93-bdd3-4d0e6ab59793%2Ctpp_buckets%3A668%232846%238114%231999&pdp_ext_f=%257B%2522sku_id%2522%253A%252212000024121003397%2522%252C%2522sceneId%2522%253A%25223339%2522%257D&pdp_pi=-1%253B38.64%253B-1%253B-1%2540salePrice%253BEUR%253Brecommend-recommend

@hackguy25
Copy link

hackguy25 commented Mar 26, 2022

The sheer amount of possible tracking parameters AliExpress uses is overwhelming, I propose a filter specific for URLs of the form https://www.aliexpress.com/item/[0-9]*.html and https://www.aliexpress.com/i/[0-9]*.html is added, which removes all of them. I have been doing this manually for years and it never broke the link. An example rule could be something like this:

"aliexpress item": {
    "urlPattern": "^https?:\\/\\/(?:[a-z0-9-]+\\.)*?aliexpress(?:\\.[a-z]{2,}){1,}\\/(i|item)\\/[0-9]*\\.html",
    "completeProvider": false,
    "rules": [
        ".*"
    ],
    "referralMarketing": [],
    "rawRules": [],
    "exceptions": [],
    "redirections": [],
    "forceRedirection": false
}

Disclaimer: I am not well-versed with regex, so please double check the urlPattern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants