For example:
-
Copy this URL to clipboard: https://www.amazon.com/Python-Finance-Analyze-Financial-Data/dp/1491945281/ref=sr_1_1?ie=UTF8&qid=1492588689&sr=8-1&keywords=python+for+finance
-
Run script:
$ python genlink.py
-
Converted to this link and pasted it to clipboard: https://www.amazon.com/dp/1491945281/?tag=pyb0f-20