From 1c9131d8b9da7a9a2a6f729c12293d3c48c3a8af Mon Sep 17 00:00:00 2001 From: Michael Harms <michaelharms95@icloud.com> Date: Sun, 26 Jul 2020 12:01:55 +0200 Subject: [PATCH 1/5] adjust quotes --- comcrawl/utils/download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comcrawl/utils/download.py b/comcrawl/utils/download.py index 623f20e..9538359 100644 --- a/comcrawl/utils/download.py +++ b/comcrawl/utils/download.py @@ -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"] = "" From 620975f518de855229927ba3a1781ee2338a7c88 Mon Sep 17 00:00:00 2001 From: Michael Harms <michaelharms95@icloud.com> Date: Sun, 26 Jul 2020 12:02:06 +0200 Subject: [PATCH 2/5] add changelog file --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..20c0571 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,16 @@ +# 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] + +### 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) From c1f115b8412daae6b06f16ab89eff0bf0b510c13 Mon Sep 17 00:00:00 2001 From: Michael Harms <michaelharms95@icloud.com> Date: Sun, 26 Jul 2020 12:05:13 +0200 Subject: [PATCH 3/5] adjust alpha version numbers for test pypi --- comcrawl/__init__.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/comcrawl/__init__.py b/comcrawl/__init__.py index d402cb9..433eb74 100644 --- a/comcrawl/__init__.py +++ b/comcrawl/__init__.py @@ -7,6 +7,6 @@ """ -__version__ = "1.0.1" +__version__ = "1.0.2a0" from .core import IndexClient diff --git a/pyproject.toml b/pyproject.toml index 17f78e8..6191333 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "comcrawl" -version = "1.0.1" +version = "1.0.2a0" description = "A python utility for downloading Common Crawl data." authors = ["Michael Harms <michaelharms95@icloud.com>"] license = "MIT" From 343bebb5cbe5b21ef2621bc1e1dda890936cee49 Mon Sep 17 00:00:00 2001 From: Michael Harms <michaelharms95@icloud.com> Date: Sun, 26 Jul 2020 12:12:26 +0200 Subject: [PATCH 4/5] adjust changelog for pre-release --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 20c0571..e38226a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.0.2a0] - 2020-07-26 + ### Added - This CHANGELOG file to keep track of changes in future releases. From 2e7e9770f279d01a9387db4ff45cd8eee3c6cf8d Mon Sep 17 00:00:00 2001 From: Michael Harms <michaelharms95@icloud.com> Date: Sun, 26 Jul 2020 12:23:43 +0200 Subject: [PATCH 5/5] adjust version number for release --- CHANGELOG.md | 2 +- comcrawl/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e38226a..d8bf0cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [1.0.2a0] - 2020-07-26 +## [1.0.2] - 2020-07-26 ### Added diff --git a/comcrawl/__init__.py b/comcrawl/__init__.py index 433eb74..01432ce 100644 --- a/comcrawl/__init__.py +++ b/comcrawl/__init__.py @@ -7,6 +7,6 @@ """ -__version__ = "1.0.2a0" +__version__ = "1.0.2" from .core import IndexClient diff --git a/pyproject.toml b/pyproject.toml index 6191333..fca11d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "comcrawl" -version = "1.0.2a0" +version = "1.0.2" description = "A python utility for downloading Common Crawl data." authors = ["Michael Harms <michaelharms95@icloud.com>"] license = "MIT"