
AmputatorBot removes AMP from your URLs. AMP is controversial because of concerns over privacy and the Open Web. Available in many different forms, such as here on Reddit (site-wide by default, summoned manually with u/AmputatorBot), on AmputatorBot.com or anywhere else with the REST API. Check out the pinned posts for the FAQ, About & Why!
Changelog of AmputatorBot
Check out the GitHub commits overview for more details
If you like what you see, considersupporting the project!
4.1.3 (25/06/2023)
I've rewritten the FAQ, About & Why for better readability. I removed images and videos because I have to edit the post in markdown now (I think it's a bug with the fancy pants editor)
I've stopped taking crypto donations for environmental reasons. If you still want to donate crypto,donate it to our friends in Ukraine instead.
4.1.2 (29/05/2023)
AmputatorBot on Twitter is no longer in use:https://www.reddit.com/r/AmputatorBot/comments/13uciia/amputatorbot_saluting_1k_members_and_waving_off/
4.1.1 (10/04/2022)
Fixed: Some domains like
bandcamp.com
,progonlymusic.com
,spotify.com
andyoutube.com
would produce false positivesexclusively. These domains are no longer getting incorrectly marked as AMP links.
4.1.0 (03/04/2022)
AmputatorBot is now active site-wide instead of in a select number of subreddits (should reduce the need for mentions)
4.0.2 (18/11/2021)
Fixed: When being summoned to an item to an item with a faulty or redundant link, DMs will now be correctly send again
4.0.1 (16/11/2021)
Fixed: Contributor statuses will now be correctly registered
Fixed: Invalid transactions will now be rollbacked when using database caching
Fixed: Redundant spacing in comment footer
4.0 (08/11/2021)
Added API-support
Enabled database-caching and back-up for finding canonicals
By default, meta-redirect, guess-and-check and database canonical finding methods will now only run if other methods fail to find the canonical in the first run
Refactored a lot of stuff under-the-hood to be more clean, maintainable and accurate
3.5 (29/10/2021)
Automatically collect subs with approved/contributor status
Use these statuses to select additional subs to run the bot in
Updated README.md & added a requirement list of Python packages
3.4 (26/10/2021)
Added a new canonical method 'meta-redirect' for certain ampproject links
3.3 (26/11/2020)
Added a new option online: Redirect, which automatically redirects the user to the first found canonical
Made canonicals clickable and stand-out more
3.2.1 (10/11/2020)
Did a rework of the FAQ
Made AmputatorBot Lite (Twitter) run 24/7
3.2 (03/11/2020)
Added a new option onAmputatorBot.com to generate and copy comments similar to the ones from AmputatorBot, so that you can post them yourselves.More info here.
Made it possible to set options as parameters the URL
The parameters will be updated once the form gets submitted
Changes DM templates to add info about this new feature and a quick link to use it
Made some minor changes to the design
3.1 (22/08/2020)
Added support for AmputatorBot's new API and Tweets (both WIP) (discontinued)
Refined some logic, variables and other stuff
3.0.2 (04/08/2020)
Made AMP-canonicals exclusive to cached AMP pages
Changed DM templates
3.0.1 (03/08/2020)
Tweaked some colours and fixed layout issues onAmputatorBot.com
Changed order of comment template
Fixed bug that caused not all cached AMP pages to be recognized as such
Simplified who/what assigner
Fixed bug that caused opt-out and opt-back-in actions to fail
Moved some things from .gitignore to .git/info/exclude
3.0 (01/08/2020)
A major rewrite of AmputatorBot, check out the entire changelog here:https://www.reddit.com/r/AmputatorBot/comments/i1wruh/amputatorbot_v30_better_bot/
2.1 (20/06/2020)
When you summon the bot or online for a domain that AmputatorBot doesn't work with (e.g. because it's blocking bots), you'll now receive a more detailed error message to reflect this
Minor changes and bugfixes
2.0.1 (06/05/2020)
Did a major rewrite of the about AMP part of the FAQ
2.0.0 (21/04/2020)
Changed servers from EU to US to reduce geo-blocking errors
Added database logging (logs the time of the conversion, amp_url, canonical_url and source) for debugging purposes
Removed optional setting of AmputatorBot.com to choose a version
1.9.4 (19/04/2020)
Added an optional setting on AmputatorBot.com to use the 2.0 BETA version of AmputatorBot (only back-end changes)
1.9.3 (15/04/2020)
AmputatorBot may now interact with subreddits with anti-bot-bots if the subreddit gets added to the allowed_subreddits list (only with moderator approval)
1.9.2 (09/03/2020)
When summoned in a subreddit moderated by an anti-bot-bot, no comment will be made, you'll receive a DM with the canonical URL instead
Fixed underflow bug
1.9.1 (07/02/2020)
Launched a new method to get more canonicals (both bot and website)
Fixed bugs & other small stuff
Changed "This page is even entirely hosted on Google's servers (!)" to "This page is even fully hosted by Google (!)"
1.9 (28/02/2020)
AmputatorBot can now find amp links in text-based submissions too
DMs will now include a direct link to the reply made by AmputatorBot (if it made one)
1.8.1 (16/02/2020)
In some subreddits, the NP (No-Participation) subdomain will now be used
Fixed a bug that would prevent DMs from being send (sorry!)
Improved some code
Changed README.txt on GitHub
1.8 (09/02/2020)
Major rewrite of code stuff (code is now much more dynamic and easier maintained)
Switched to comment stream instead of limit (should reduce issues with rate limits, I'll be monitoring the result carefully)
Upped 'depth' of scraping by one (to find more canonical urls)
1.7.5 (28/01/2020)
Changed comment template to be less intrusive (
is a major threat-> is threatening)Changed "you shared a Google AMP link" to "you shared an Amp link"
Added note: " This page is even entirely hosted on Google's servers (!). " if the Amp link is either from
google.com/amp
orampproject.org
.With the above changes, I hope to prevent the spread of misinformation and encourage a discussion based on facts instead of gut feelings
Added and removed subreddits
1.7.4 (15/01/2020)
Further improvements to the code to be able to do this:
If you summon the bot in a subreddit where it's banned, you'll receive a DM with the canonical URL(s) you requested.
1.7.3 (12/01/2020)
If the canonical url uses amp as well, the canonical url of the canonical url is used
Changed a lot of stuff under the hood to improve the readability, the maintainability and the trustworthiness or AmputatorBot.
1.7.2 (11/01/2020)
Added another way to get the canonical link (scanning for
a class='amp-canurl'
, this fixes frequent errors withgoogle.com/amp
URLsChanged the user-agents to mobile Chrome ones to prevent redirects when scraping the AMP page
1.7.1 (08/01/2020)
Cleaned up a lot of code to be less spaghetti-ish
Fixed a bug where links stacked with comma's would cause erros
Improved debug-info and added additional error info in DMs
1.7 (01/01/2020)
Added the option to convert AMPs like this:https://www.amputatorbot.com/?https://www.google.com/amp/s/www.nbcnews.com/news/amp/ncna1064856
When mentioned, the bot's DM will now include custom links like the one above so that you can convert (or try) it again, with more debug-info.
Fixed a bug where submitting non-AMP URLs toAmputatorBot.com would show 500-errors
Fixed a recursion bug if an error was raised when using a custom link
Changed markdown of the canonical URLs from
**amp.example.com**
to**[amp.example.com](amp.example.com)**
to fix markdown bugs in 3rd-party apps
1.6 (16/12/2019)
www.AmputatorBot.com is live! See the announcement post here:https://www.reddit.com/r/AmputatorBot/comments/eb6uwi/introducing_wwwamputatorbotcom_remove_amp_in_just/
Changed the comment template based on user feedback
Removed and added subreddits
1.5 (26/09/2019)
You can now opt out! (And opt back in if you regret doing so)
Cleaned up the code
1.4 (01/09/2019)
Under the hood stuff:
Now using the Pylint guidelines
Tabs are now Spaces!
Debugging is now done using logging()
The filenames have been changed
The user-agents have been hidden
And much more (just see the commithere)
Slightly different comment and PM templates
Made the 'summoned by' part bold. Because you beautiful people deserve recognition your good work.
1.3.5 (11/08/2019)
FIXED: Bug that would cause 403-errors (especially when getting summoned)
Switched from Urllib to Requests
Changed headers and implemented randomization of user-agents
Slightly different PM templates
1.3.4 (01/08/2019)
The bot will now reply directly to the comment or submission containing the AMP link when summoned
This reply will contain a backlink to the comment where the bot was summoned
The bot will send you a personal message if the bot did it's job successfully
The bot will also send you a personal message if the bot could - for whatever reason - not deliver
Slightly different sign-off
1.3.3 (28/07/2019)
Under the hood: bugfixes, performance upgrades, better code readability
Removed the public list of allowed and forbidden subreddits to prevent doxing and act in accordance to the robotrules
1.3.2 (24/07/2019)
Amp pages using
=amp
andamp=
in the url are now recognized as suchThe default reply has been reduced by 111 characters (less spam-ish)
Made some tweaks to the subreddit for a better overview
1.3.1 (20/07/2019)
Updated the subreddits
Amp pages using
?amp
andamp?
in the url are now recognized as such
1.3.0 (16/07/2019)
AmputatorBot nowworks with multiple urls!
1.2.0 (12/07/2019)
You can nowsummon the bot, check out how!
1.1.0 (09/07/2019)
Cleaned up the code a lot
Hooray: AmputatorBot is nowopen source! Make sure tocheck this post before you run anything!
1.0.2 (08/07/2019)
Updated the subreddits
FIXED: Bug that would cause the bot to reply multiple times (sorry for the spam!)
1.0.1 (07/07/2019)
Updated the subreddits
Decreased the 'sleeping time' with another 60 seconds to make sure no comments are skipped over
1.0.0 (03/07/2019)
Updated the subreddits
Submissions are now being scanned
Top-level comments are being posted
The bot has migrated toPythonAnywhere and is now running 24/7!