Skip to content

Commit ea5c18a

Browse files
gorskysdSean Gorsky
andauthored
expanded url in request (#14)
* expanded url in request * incremented version Co-authored-by: Sean Gorsky <[email protected]>
1 parent a974926 commit ea5c18a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spark_log_parser/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Tools for providing Spark event log"""
2-
__version__ = "0.1.3"
2+
__version__ = "0.1.4"
33

spark_log_parser/extractor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def _remove_from_stats(self, size, count=1):
230230

231231
def _download(self):
232232
if self.source_url.scheme == "https":
233-
response = requests.get(self.source_url, stream=True)
233+
response = requests.get(self.source_url.geturl(), stream=True)
234234
target_path = self.work_dir.joinpath(self.source_url.path.split("/")[-1])
235235
with open(target_path, "wb") as fobj:
236236
for chunk in response.iter_content():

0 commit comments

Comments
 (0)