string.replace() returns the string with the replaced values. It doesn't modify the original so do something like this:
link['href'] = link['href'].replace("..", "")
2.1m questions
2.1m answers
60 comments
57.0k users