Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit

Permalink
fixed #555 (issue with assets being skipped)
Browse files Browse the repository at this point in the history
  • Loading branch information
r0oth3x49 committed Sep 17, 2020
1 parent 1ade2be commit a181479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion udemy/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def download(
bytes_to_be_downloaded = 0
fmode, offset = "wb", 0
chunksize, bytesdone, t0 = 16384, 0, time.time()
headers = {"User-Agent": HEADERS.get("User-Agent")}
headers = {"User-Agent": HEADERS.get("User-Agent"), "Accept-Encoding": None}
if os.path.exists(temp_filepath):
offset = os.stat(temp_filepath).st_size

Expand Down

0 comments on commit a181479

Please sign in to comment.