I often find myself wanting to grab the contents of a tweet in Markdown format to post on my blog, so I’ve created an iOS shortcut that takes the URL to a tweet, grabs the contents via the public Twitter API, expands t.co URLs, and copies the content to the clipboard.
我经常发现自己想抓取 Markdown 格式的推文内容发布到我的博客上,因此我创建了一个 iOS 快捷方式,它可以获取推文的 URL,通过公共 Twitter API 抓取内容,展开 t.co URL 并将内容复制到剪贴板。
Here’s an example tweet: 下面是一条推文示例:
It’s surprisingly hard to find a tweet with multiple URLs in it for API response testing purposes.
— Max Masnick (@masnick) December 25, 2019
要找到一条包含多个 URL 的推文用于 API 响应测试,难度可想而知。
So here are my two favorite non-Google search engines:
以下是我最喜欢的两个非谷歌搜索引擎:
1. https://t.co/jFqkR0eo8x
2. https://t.co/UZD9mmtzEH
👍
- 马克斯-马斯尼克(@masnick) 2019 年 12 月 25 日
And here’s what the output of the Shortcut looks like:
下面是快捷方式的输出结果:
[Max Masnick on Twitter](https://twitter.com/masnick/status/1209899493048639488): | |
> It’s surprisingly hard to find a tweet with multiple URLs in it for API response testing purposes. | |
> | |
> So here are my two favorite non-Google search engines: | |
> | |
> 1. <https://t.co/jFqkR0eo8x> | |
> 2. <https://t.co/UZD9mmtzEH> | |
> | |
> 👍 |
🌟 Was this page helpful? Please let me know with this quick, 3 question survey.
🌟 本页对您有帮助吗?请通过这个快速的 3 个问题调查告诉我。