https://github.com/arran4/trakt-import-github-action
A github script for importing netflix and other exported files into trakt
https://github.com/arran4/trakt-import-github-action
github github-action trackt trackt-importer
Last synced: over 1 year ago
JSON representation
A github script for importing netflix and other exported files into trakt
- Host: GitHub
- URL: https://github.com/arran4/trakt-import-github-action
- Owner: arran4
- License: mit
- Created: 2022-05-11T12:24:45.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-15T22:49:32.000Z (over 1 year ago)
- Last Synced: 2025-02-15T23:27:38.718Z (over 1 year ago)
- Topics: github, github-action, trackt, trackt-importer
- Language: JavaScript
- Homepage: https://arran4.github.io/trakt-import-github-action/
- Size: 558 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# trakt-import-github-action
*Work in progress*
A github script for importing netflix and other exported files into trakt.
The basic idea is that you create a private repo then perodically commit your latest netflix etc watch files to it, the action below will automatically push it up.
## Inputs
## `trakt-oauth2-refresh-token`
**Required** The oauth2 refresh token, generated using github pages. See https://arran4.github.io/trakt-import-github-action/
## `netflix-file`
**Required** The netflix csv file. From https://www.netflix.com/settings/viewed/ (Profile URLs might differ)
## `delete`
**Required** Delete the file with a commit.
## Example usage
Create a private repo. Create an action which triggers on push with the action:
Generate an refresh token using: https://arran4.github.io/trakt-import-github-action/
Upload access token to the github repo's secrets as: TRAKT_REFRESH_TOKEN
```
uses: arran4/trakt-import-github-action@v1.0
with:
trakt-oauth2-refresh-token: ${{ secrets.TRAKT_REFRESH_TOKEN }}
netflix-file: 'NetflixViewingHistory.csv'
delete: false
```
Then upload `NetflixViewingHistory.csv` to it and watch the action run.