在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):JustRunningInCircles/Mastodon-Media-Grabber开源软件地址(OpenSource Url):https://github.com/JustRunningInCircles/Mastodon-Media-Grabber开源编程语言(OpenSource Language):Python 100.0%开源软件介绍(OpenSource Introduction):Mastodon-Media-GrabberTrawls original posts of your profile and downloads any media you uploaded in your toots. This means only toots you have initiated. Not boosts or indeed at the moment replies The intent is to provide a way of taking a local backup of your media in case your instance goes down. Run it by:
What you will get is a Media folder in the saveDirectory you specify. Within that will be a directory for each day you tooted some media, containing that media. Subsequent runs with the same settings will only download new media (though it will crawl the whole timeline to check). You will need BeautifulSoup installed see here https://www.crummy.com/software/BeautifulSoup/ I do NOT have any Windows environments to test on so YMMV. It should work. I do NO sanity checking of the URLs or locations, so give it something sensible or it WILL break. I am not a Python Programmer by trade, so it was written to refresh my Python knowledge and there may be much better ways of achieving this (API etc...) |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论