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

[bonopark] Added Madrid's BiciMAD network #166

Merged
merged 1 commit into from Jul 9, 2016

Conversation

@bcaller
Copy link
Contributor

@bcaller bcaller commented Jul 7, 2016

The bike network for Madrid, Spain.

@bcaller bcaller changed the title Added Madrid's BiciMAD network [bonopark] Added Madrid's BiciMAD network Jul 7, 2016
def update(self, scraper=None):
if scraper is None:
scraper = utils.PyBikesScraper()
scraper.headers['Content-Type'] = 'application/json'

This comment has been minimized.

@eskerda

eskerda Jul 9, 2016
Owner

Can we set this user agent Apache-HttpClient/UNAVAILABLE (java 1.4)? Seems to be the one the app is using.

That can be done either by setting the header, or by using scraper.setUserAgent.

This comment has been minimized.

@bcaller

bcaller Jul 9, 2016
Author Contributor

Yes that would be the correct user agent, though for now it works without.

@bcaller bcaller force-pushed the bcaller:bcaller-bicimad branch from f4c5ccb to 60d922a Jul 9, 2016
@bcaller
Copy link
Contributor Author

@bcaller bcaller commented Jul 9, 2016

I have added the user agent.

@eskerda
Copy link
Owner

@eskerda eskerda commented Jul 9, 2016

Looks good, thanks

@eskerda eskerda merged commit e44ba59 into eskerda:master Jul 9, 2016
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.