Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Beyond-HD API check #49

Merged
merged 6 commits into from
Jan 22, 2022
Merged

Conversation

saltydk
Copy link
Contributor

@saltydk saltydk commented Jan 21, 2022

Since parsing the tracker status messages is a mess and the Beyond-HD sysops refuse to see reason this approach would allow us to validate removals through the API instead.

As we discussed the configuration likely needs to be adapted to your preferences but hopefully you can use the remaining logic if nothing else.

TrackerName does not container the full tracker url but only the domain.
Was just used to check if the removal was triggered by the API.
@saltydk
Copy link
Contributor Author

saltydk commented Jan 21, 2022

Current config example for testing

trackers:
  BHD:
    APIKey: "key"

@saltydk
Copy link
Contributor Author

saltydk commented Jan 21, 2022

Probably want to add logic to only do the API check when the relevant config entry is present.

@l3uddz l3uddz merged commit 52719bc into l3uddz:master Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants