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

Added ability to optionally display video title #16

Merged
merged 1 commit into from
Nov 28, 2020
Merged

Added ability to optionally display video title #16

merged 1 commit into from
Nov 28, 2020

Conversation

davidscholberg
Copy link
Contributor

This PR adds the ability to display the video titles along with the video URLs. This can be useful for adapters that don't have built-in URL preview functionality like IRC. Additionally, this PR adds the option to decode HTML entities from the returned titles. I have added new tests for this functionality.

Copy link
Member

@stephenyeargin stephenyeargin left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for adding the test coverage!

@stephenyeargin stephenyeargin merged commit 65e9859 into hubot-archive:master Nov 28, 2020
davidscholberg added a commit to davidscholberg/chanspy that referenced this pull request Nov 28, 2020
We can switch back to upstream now that
hubot-archive/hubot-youtube#16 has been merged
and pushed to npm.
@stephenyeargin
Copy link
Member

Forgot to mention this released with v1.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants