Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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```