Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #32 from michaelharms/releases/1.0.2
Browse files Browse the repository at this point in the history
Releases/1.0.2
  • Loading branch information
michaelharms authored Jul 27, 2020
2 parents a5f3db0 + 2e7e977 commit a892360
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.0.2] - 2020-07-26

### Added

- This CHANGELOG file to keep track of changes in future releases.

### Fixed

- Crashes from decoding errors while downloading, contribution from [@Sarunas-Girdenas](https://github.com/Sarunas-Girdenas)
2 changes: 1 addition & 1 deletion comcrawl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"""


__version__ = "1.0.1"
__version__ = "1.0.2"

from .core import IndexClient
2 changes: 1 addition & 1 deletion comcrawl/utils/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def download_single_result(result: Result) -> Result:
data: str = raw_data.decode("utf-8")
except UnicodeDecodeError:
print(f"Warning: Could not extract file downloaded from {url}")
data = ''
data = ""

result["html"] = ""

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "comcrawl"
version = "1.0.1"
version = "1.0.2"
description = "A python utility for downloading Common Crawl data."
authors = ["Michael Harms <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit a892360

Please sign in to comment.