Added examples to readme
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Nicolai Ort 2022-01-12 18:17:50 +01:00
parent 85249e83b1
commit 93a931830f
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 8 additions and 8 deletions

View File

@ -11,14 +11,14 @@
### Provider patterns ### Provider patterns
> The base pattern is always baseurl/providerOrShortCode > The base pattern is always baseurl/providerOrShortCode
| Provider | Pattern | Resolves to | Notes | | Provider | Pattern | Resolves to | Example | Notes |
| - | - | - | - | | - | - | - | - | - |
| Native (Shortcode) | `/id` | Whatever the database entry points to | None | | Native (Shortcode) | `/id` | Whatever the database entry points to | https://kauft.es/den-hut | None |
| YouTube (Video) | `/yt/id` | `https://youtu.be/id` | None | | YouTube (Video) | `/yt/id` | `https://youtu.be/id` | https://kauft.es/yt/dQw4w9WgXcQ | None |
| YouTube (Playlist) | `/ytpl/id` | `https://youtube.com/playlist?list=id` | Remember: Private playlists will result in user-side errors | | YouTube (Playlist) | `/ytpl/id` | `https://youtube.com/playlist?list=id` | https://kauft.es/ytpl/PLKIxB9vhdS_3x0A5za3mmu1wdoolgRQ65 | Remember: Private playlists will result in user-side errors |
| Amazon | `/a/id` | `https://amazon.de/dp/id` | Recognizes all kind of cursed amazon urls (+smile and others) | | Amazon | `/a/id` | `https://amazon.de/dp/id` | https://kauft.es/a/B08Z2TXCPY | Recognizes all kind of cursed amazon urls (+smile and others) |
| eBay | `/e/id` | `https://ebay.de/itm/id` | Only tested with German eBay | | eBay | `/e/id` | `https://ebay.de/itm/id` | https://kauft.es/e/373831556670 | Only tested with German eBay |
| Reddit | `/r/id` | `https://redd.it/id` | Powered by the awesome work of u/TheAppleFreak https://kauft.es/r/4vapin | | Reddit | `/r/id` | `https://redd.it/id` | https://kauft.es/r/4vapin | Powered by the awesome work of u/TheAppleFreak https://kauft.es/r/4vapin |
## Dev Setup 🛠 ## Dev Setup 🛠
> Runs on port 3000 > Runs on port 3000