diegocr / CleanLinks

Converts obfuscated/nested links to genuine clean links.
166 stars 45 forks source link

Link cleaning with URL encoded special character #159

Open geokis opened 8 years ago

geokis commented 8 years ago

Hey @diegocr I have noticed that amazon has URL encode the special character in their URLs, so CL can no more detected the specify pattern.

E.g.:

https://www.amazon.de.../B00DJU01E8%3FSubscriptionId%3DAKIAILSHYYTFIVPWUY6Q%26tag%3Dduc02-21%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB00DJU01E8

befor:

https://www.amazon.de.../B00DJU01E8?SubscriptionId=AKIAILSHYYTFIVPWUY6Q&tag=duc02-21&linkCode=xm2&camp=2025&creative=165953&6creativeASIN=B00DJU01E8

Is it possible to edit CL to detect URL encoded character?