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

extract text from url #97

Closed
veljkomatic opened this issue Sep 13, 2016 · 3 comments
Closed

extract text from url #97

veljkomatic opened this issue Sep 13, 2016 · 3 comments

Comments

@veljkomatic
Copy link
Contributor

Hi,
First to thank you for awesome library. My problem is url encoding, my url contains special character ', and somewhere in lib it encoding url and replace special character ' with %27 and it fucked up url. Can you help me, is there some config parameter?

Thanks a lot
Veljko

@dbashford
Copy link
Owner

textract uses got got to execute the request to fetch the file. And it doesn't manipulate the file path at all before executing the got request.

Don't have time to look now, but the question would be, does got support anything that would prevent the encoding? If so, I can expose that via an option.

@veljkomatic
Copy link
Contributor Author

Thanks a lot for answer. Yes that is the question.
got does encoding, and change ' to %27.

I will be thankful, if you add option for that.

Thank a lot!
Veljko

@dbashford
Copy link
Owner

This has been published with textract 2.1, sorry for the delay!

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

No branches or pull requests

2 participants