https://www.reddit.com/r/AmputatorBot/comments/cdw3pl/amputator_can_now_handle_multiple_urls/
created by Killed_Mufasa on 16/07/2019 at 12:00 UTC*
5 upvotes, 1 top-level comments (showing 1)
Hi folks! Today I've launched a new version of the bot, that can handle multiple (amp or no amp) urls in comments. In earlier versions, only the first link would get scanned and amputated, which is not ideal. This was pointed out to me[1] by u/jws_shadotak. I'll demo this in the comments below.
1: https://www.reddit.com/r/AmputatorBot/comments/cdajdb/bot_does_not_grab_multiple_links/
Alongside that change, the send-off message is now correctly parsed in old Reddit[2] and multiple bugs were fixed[3]. False flags and badly implemented specs are now dealt with.
2: https://github.com/KilledMufasa/AmputatorBot/pull/1
3: https://github.com/KilledMufasa/AmputatorBot/commits/master
And for those who missed it, it's now possible to summon the bot[4] by replying to an amp link with a mention of u/amputatorbot!
4: https://www.reddit.com/r/AmputatorBot/comments/cchly3/you_can_now_summon_amputatorbot/
​
Let me know if you run into a bug or if you have a suggestion for a new feature <3
​
Comment by Killed_Mufasa at 16/07/2019 at 12:04 UTC
1 upvotes, 1 direct replies
So let's say I share a couple of URLs:
This is an AMP link and should be fixed: https://www.google.com/amp/s/techcrunch.com/2018/07/18/amazons-prime-day-again-became-the-biggest-sales-day-in-its-history/amp/[1][2]
This is an AMP link and should be fixed: https://fivethirtyeight.com/features/americans-say-they-would-vote-for-a-woman-but/amp/[3][4]
3: https://fivethirtyeight.com/features/americans-say-they-would-vote-for-a-woman-but/amp/
4: https://fivethirtyeight.com/features/americans-say-they-would-vote-for-a-woman-but/amp/
This is a normal link and should be ignored: https://techcrunch.com/2018/07/18/amazons-prime-day-again-became-the-biggest-sales-day-in-its-history/[5][6]
This is a normal link and should be ignored: https://fivethirtyeight.com/features/americans-say-they-would-vote-for-a-woman-but/[7][8]
7: https://fivethirtyeight.com/features/americans-say-they-would-vote-for-a-woman-but/
8: https://fivethirtyeight.com/features/americans-say-they-would-vote-for-a-woman-but/
This is a normal link (but with amp in url and amp specs in html) and should be ignored: https://developers.google.com/amp/[9][10]
9: https://developers.google.com/amp/
10: https://developers.google.com/amp/
This is an AMP link and should be fixed: https://www-cbc-ca.cdn.ampproject.org/v/s/www.cbc.ca/amp/1.1159807?usqp=mq331AQA&%5C_js%5C_v=0.1#referrer=https%3A%2F%2Fwww.google.com&%5C_tf=From%20%251%24s&share=https%3A%2F%2Fwww.cbc.ca%2Fnews%2Fcanada%2Fpolice-officer-charged-in-cross-border-cheese-smuggling-1.1159807[11][12]