Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
In Python, read the .80 file format, for 80legs web crawl results. | ||
|
||
The URL and data are UTF-8 decoded. | ||
|
||
From http://80legs.pbworks.com/Results: | ||
For people interested in deserializing in other languages, the file format this creates and reads is: | ||
<classID><versionID><URL-SIZE><URL><DATA-SIZE><DATA> | ||
Note that: | ||
* The last 4 items (<URL-SIZE><URL><DATA-SIZE><DATA>) repeat for each url/data pair. | ||
* <classID>, <versionID>, <URL-SIZE>, and <DATA-SIZE> are encoded 32-bit integers. | ||
* The url is encoded using UTF-8. | ||
|
||
ISSUES: | ||
* I don't Unicode decode either the URL or the data. |
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