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

Update needed? #26

Open
YesTrustMe opened this issue Mar 20, 2024 · 1 comment
Open

Update needed? #26

YesTrustMe opened this issue Mar 20, 2024 · 1 comment

Comments

@YesTrustMe
Copy link

Hi Dave,

Have a see at what RFD did with this link. Your stripper doesn't seem to be working: https://forums.redflagdeals.com/distributel-sponsored-50-off-fibre-500-mbps-internet-1-month-free-ends-march-22-2681637/

http://pubads.g.doubleclick.net/gampad/clk?id=6612882889&iu=/1030735/redflagdeals

@davegallant
Copy link
Owner

This link is tricky because the original url is not encoded in the tracking link. The current regex match and replace will not work.

One way around this could be to request http head on the url and then determine the full url which is

https://adclick.g.doubleclick.net/pcs/click?xai=AKAOjsuNxvl2sg6infhg3VWka1SQYsFRawd5hCyiOkma1RN6FvAw2bOeWrtBZgLt6ykar2s1TYM6BdyCBTfY5XpNIEq2KuP1LaJQvPFanRSzlv4h6Sg4LaatejJvnry2tp9VdkJ_0w8ZQ02mepGAVZQTMrMw9y0IxI8ot91EUoMdRapTDcVUz7S4opgFLWGaNfj4UlpVgldPTa5nxTKrr_MzyMrpHUV0B_bVH_z8SjNWdmay0y1GPUVv0wUtvUdwqqQjFat3oUiCeFvHvh8LfSis_7jvrO-eHMNv1Py3bE1-Ix0BBMBweou_tEjm2nHVYC6QuaVV-95XgDwnU-VrFTwWfkQHJbMEaEk6AZa9Ghf12eKX&sai=AMfl-YRfJm882FmqrZRvx0OOcEumsEFuz6eJTkDA6kz2abpD_47aWMxuxAygCgZYT7mw9VG4OE3pkjwQYhycgkM&sig=Cg0ArKJSzO7UyduFr30k&fbs_aeid=%5Bgw_fbsaeid%5D&adurl=https://lp.distributel.ca/al/00/pp-on-en-in-fi2/%3Futm_source%3DKuration%26utm_medium%3DRFD_Sticky%26utm_campaign%3DProspecting

Maybe there is a better way to handle www.google.com/doubleclick links.

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

No branches or pull requests

2 participants