-
-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add content method to Context for proper content decoding in Python 3. …
…Fixes #10. Context deals with bytes, but the regular expressions in Crawler really deal with strings, which makes Python 3 sad. Adds Context.content to return decoded pages based upon their reported content encoding.
- Loading branch information
Showing
6 changed files
with
79 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
coverage run -p -m py.test tests | ||
coverage run -p -m pex.bin.pex --help >&/dev/null | ||
coverage run -p -m pex.bin.pex scripts/do_nothing.py | ||
coverage run -p -m pex.bin.pex -r requests scripts/do_nothing.py | ||
coverage run -p -m pex.bin.pex -r setuptools -s . scripts/do_nothing.py |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters