在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):clerie/mastodon-hashtag-spreader开源软件地址(OpenSource Url):https://github.com/clerie/mastodon-hashtag-spreader开源编程语言(OpenSource Language):Python 100.0%开源软件介绍(OpenSource Introduction):Mastodon Hashtag SpreaderFor #GPN19 my Mastodon instance fem.social wants to get all posts for this hashtag. Most users at this event are connected to the instance chaos.social. Our solutionWe have a script on one of our servers which streams all posts for specific hashtag from chaos.social and puts the URLs of those posts into the search entry of our own instance. Thus, the URLs will get fetched by our instance and the posts is added to our hashtag timeline. Installationpip3 install Mastodon.py
git clone https://github.com/clerie/mastodon-hashtag-spreader.git
cd mastodon-hashtag-spreader/
cp config.json.example config.json
nano config.json Edit config for your needs. python3 hashtag-spreader.py ScopesTo get this script work, you need an application token on each instance you want to get connected to. The needed scopes are depending on the role of the instace. Source
Drain
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论