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

Fixed connectcast.tv TypeError #779

Merged
merged 2 commits into from
Mar 14, 2015
Merged

Fixed connectcast.tv TypeError #779

merged 2 commits into from
Mar 14, 2015

Conversation

mammothb
Copy link
Contributor

@mammothb mammothb commented Mar 8, 2015

Fixed TypeError by changing res.content to str type

Fixed TypeError by changing res.content to str type
@@ -18,7 +18,7 @@ def can_handle_url(self, url):

def _get_streams(self):
res = http.get(self.url)
match = _manifest_re.search(res.content)
match = _manifest_re.search(res.content.decode())
Copy link
Owner

Choose a reason for hiding this comment

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

We can use res.text here instead, it's a decoded version of res.content.

chrippa added a commit that referenced this pull request Mar 14, 2015
Fixed connectcast.tv TypeError
@chrippa chrippa merged commit fb739da into chrippa:develop Mar 14, 2015
@chrippa
Copy link
Owner

chrippa commented Mar 14, 2015

Thanks!

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.

None yet

2 participants