Skip to content

Conversation

@tuttinator
Copy link

Not yet ready to merge. Still a work in progress.

This PR will add support for accessing the raw text for individual pages, and does so by refactoring RestClient to use a resource to take advantage of RestClient APIs for HTTP Basic authentication (presumably as HTTP headers under the hood rather than as part of the URL string).

RestClient also escapes characters in the username and password for us.

I've also tried to keep #pages as the number of pages, to make sure that API doesn't change.

To make this consistent it may require further refactoring in other areas.

This PR will also include tests, possibly after I've finished work on #7

@mileszim
Copy link
Owner

@tuttinator any word on the tests or this PR?

@tuttinator
Copy link
Author

Apologies for neglecting these PRs, which are now probably wildly out of date. Thank you for your work which was immensely valuable when I was working as a data journalist.

@tuttinator tuttinator closed this Jun 10, 2021
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