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

Add Tanzania Zabuni scraper #540

Merged
merged 5 commits into from
Nov 4, 2020
Merged

Add Tanzania Zabuni scraper #540

merged 5 commits into from
Nov 4, 2020

Conversation

aguilerapy
Copy link
Contributor

closes #538

Copy link
Member

@yolile yolile left a comment

Choose a reason for hiding this comment

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

releases = json.loads(response.text)['releases']
for release in releases:
yield self.build_request(
self.url.format(join_path(release['ocid'], response.request.meta['stage'])),
Copy link
Member

@yolile yolile Nov 3, 2020

Choose a reason for hiding this comment

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

as this is an URL you can use "/" directly instead, as os.path.join will be " \ " in Windows

@aguilerapy aguilerapy marked this pull request as draft November 3, 2020 18:56
@aguilerapy aguilerapy marked this pull request as ready for review November 3, 2020 19:00
@yolile yolile merged commit b15e5dc into master Nov 4, 2020
@yolile yolile deleted the 538-zabuni branch November 4, 2020 18:52
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.

Zabuni
2 participants