Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/satoshi-sh/mastodon-links
Script to get urls from my following profile pages.
https://github.com/satoshi-sh/mastodon-links
Last synced: 4 days ago
JSON representation
Script to get urls from my following profile pages.
- Host: GitHub
- URL: https://github.com/satoshi-sh/mastodon-links
- Owner: Satoshi-Sh
- Created: 2023-06-16T20:07:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-17T18:23:02.000Z (over 1 year ago)
- Last Synced: 2024-11-15T15:45:41.299Z (2 months ago)
- Language: Python
- Homepage: https://mastodon-links.streamlit.app/
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mastodon-links
Script to get url from my following profile pages.
After setting up an environment and put
```ACCESS_TOKEN="your-token" API_URL="your-instance"```
in .env file.Run
```python main.py```
- If you like to get a csv file instead of a json file, run ```python main.py -f csv```
- How to get your access token [link](https://dev.to/bitsrfr/getting-started-with-the-mastodon-api-41jj)# Live page
Just need a mastodon access token and the instance URL.
https://mastodon-links.streamlit.app/## JSON File Format
```
[{"display_name": "",
"username": "",
"account": "",
"links": [
{ "title": "", "link":"" },
{ "title": "", "link": "" },
{
"title": "",
"link": ""
},
]},....]
```## CSV File Format
```username,account,account_url,title,url```