This commit is contained in:
Ethan Dalool 2016-10-03 20:29:24 -07:00
parent fcdaa58bd4
commit e43bd02583
2 changed files with 4 additions and 1 deletions

View file

@ -7,6 +7,9 @@ Requires `pip install beautifulsoup4`.
See inside opendirdl.py for usage instructions.
- 2016 10 03
- **[bugfix]** Fix KeyError caused by the 'root' -> 'domain' rename.
- 2016 10 01
- **[bugfix]** Fixed the download function so it actually passes `headers` into downloady.
- **[change]** `url_split` key 'root' has been renamed to 'domain'.

View file

@ -519,7 +519,7 @@ def build_file_tree(databasename):
if len(all_items) == 0:
return
path_form = '{root}\\{folder}\\{filename}'
path_form = '{domain}\\{folder}\\{filename}'
all_items = [
{
'url': item[SQL_URL],