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

Stakwork Youtube Download #583

Merged
merged 7 commits into from
Jul 10, 2023
Merged

Stakwork Youtube Download #583

merged 7 commits into from
Jul 10, 2023

Conversation

elraphty
Copy link
Contributor

@elraphty elraphty commented Jul 7, 2023

Describe your changes

This feature sends a request to download youtube videos to Stakwork when a user hits the Tribes server feed?url= endpoint.

Issue ticket number and link

Senza-Lnd issue

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have tested on Chrome and Firefox
  • I have tested on a mobile device

handlers/feed.go Outdated
data = append(data, i.Link)
}

stakworkKey := fmt.Sprintf("Token token=%s", os.Getenv("STAKWORK_KEY"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should document this new ENV var somewhere, is there a wiki for this repo or in the readme we can add that

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't do this function call either if this key doesn't exist as the request will always fail so we should check for that aswell

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, thanks @kevkevinpal I have pushed the updates.

@kevkevinpal kevkevinpal merged commit f8c0c52 into master Jul 10, 2023
@Evanfeenstra Evanfeenstra deleted the feat/feed_stakwork branch January 26, 2024 17:57
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