Skip to content

Instantly share code, notes, and snippets.

View iotaOmicron's full-sized avatar
🤒
Out sick

iotaOmicron

🤒
Out sick
View GitHub Profile
(?:https?://)?(?:[a-zA-Z0-9\-]+\.)?(?:amazon|amzn){1}\.(?P<tld>[a-zA-Z\.]{2,})\/(gp/(?:product|offer-listing|customer-media/product-gallery)/|exec/obidos/tg/detail/-/|o/ASIN/|dp/|(?:[A-Za-z0-9\-]+)/dp/)?(?P<ASIN>[0-9A-Za-z]{10})
I created this a number of years ago for an irc bot (https://github.com/rmmh/skybot) to recognize amazon urls. Keep forgetting to hang onto it.
@iotaOmicron
iotaOmicron / copy-all-links.js
Created May 16, 2024 03:16 — forked from sadra1f/copy-all-links.js
A script that copies all links inside a web page to the clipboard