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

Fix url scraping in getStreamUrlNew() #3

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

sbahling
Copy link

@sbahling sbahling commented Sep 7, 2014

Seems a site update has changed from using double to single quotes
which breaks the url scraper.
Updated regex to catch both single and double quotes.

Seems a site update has changed from using double to single quotes
which breaks the url scraper.
Updated regex to catch both single and double quotes.
@esieke esieke mentioned this pull request Sep 18, 2014
- convert items to utf-8 encoded strings using helper function
  str_item().
- Doesn't seem to be required as the title data from json is clean from
  html encodings
- Keep the function for now in case needed later.
Conflicts:
	default.py
We don't need to prepend baseUrl.
Instead of regex we use the json module to find the stream url.
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