Skip to content

Commit

Permalink
docs: README instructions for fetching metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed Aug 8, 2024
1 parent 4671081 commit a8d9cd1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ bundle install
cp .env.example .env
```

If you just need some notes data:
If you just need some notes data and metadata:

```shell
curl -o output/data/notes.json https://andylolz.github.io/x-community-notes/data/notes.json
curl -L -o output/data/notes.json https://github.com/andylolz/x-community-notes/raw/gh-pages/data/notes.json
curl -L -o output/_data/meta.json https://github.com/andylolz/x-community-notes/raw/gh-pages/_data/meta.json
```

Then to run:
Expand All @@ -56,5 +57,4 @@ poetry run python -m x_notes.fetch_candidates
# Optional: fetch tweets
poetry run python -m x_notes.fetch_tweets
```

0 comments on commit a8d9cd1

Please sign in to comment.