Skip to content

Instantly share code, notes, and snippets.

@paulborm
Last active July 13, 2022 17:27
Show Gist options
  • Save paulborm/caa775a9c51b0a1341d7b0753f9ec0d1 to your computer and use it in GitHub Desktop.
Save paulborm/caa775a9c51b0a1341d7b0753f9ec0d1 to your computer and use it in GitHub Desktop.
iOS sharesheet script for Scriptable to get the plain link of an ebay Kleinanzeigen article without description or tracking parameters.
@paulborm
Copy link
Author

paulborm commented Dec 3, 2020

Readme

Share only the relevant part of an ebay Kleinanzeigen article without the unnecessary description, hashtags and url tracking parameters.

Setup & Usage

  1. Download and install the Scriptable app for iOS.
  2. Setup a new so called script inside the app and paste the code from above into it.
  3. Go to an ebay Kleinanzeigen article, enter the sharesheet, select "run script" and press on your newly created script. DONE.

Example

The default output if you want to share/copy an article from the ebay Kleinanzeigen iOS app is the following:

Gerade bei #eBayKleinanzeigen gefunden. Wie findest du das?
https://www.ebay-kleinanzeigen.de/s-anzeige/<ARTICLE_NAME>/<ARTICLE_ID>?utm_source=copyToPasteboard&utm_campaign=socialbuttons&utm_medium=social&utm_content=app_ios

We turn it into just a simple link:

https://www.ebay-kleinanzeigen.de/s-anzeige/<ARTICLE_NAME>/<ARTICLE_ID>

Dislaimer

This small project is in no way connected to eBay Kleinanzeigen GmbH. There are no financial interests behind it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment