else
This commit is contained in:
parent
fcdaa58bd4
commit
e43bd02583
2 changed files with 4 additions and 1 deletions
|
@ -7,6 +7,9 @@ Requires `pip install beautifulsoup4`.
|
||||||
|
|
||||||
See inside opendirdl.py for usage instructions.
|
See inside opendirdl.py for usage instructions.
|
||||||
|
|
||||||
|
- 2016 10 03
|
||||||
|
- **[bugfix]** Fix KeyError caused by the 'root' -> 'domain' rename.
|
||||||
|
|
||||||
- 2016 10 01
|
- 2016 10 01
|
||||||
- **[bugfix]** Fixed the download function so it actually passes `headers` into downloady.
|
- **[bugfix]** Fixed the download function so it actually passes `headers` into downloady.
|
||||||
- **[change]** `url_split` key 'root' has been renamed to 'domain'.
|
- **[change]** `url_split` key 'root' has been renamed to 'domain'.
|
||||||
|
|
|
@ -519,7 +519,7 @@ def build_file_tree(databasename):
|
||||||
if len(all_items) == 0:
|
if len(all_items) == 0:
|
||||||
return
|
return
|
||||||
|
|
||||||
path_form = '{root}\\{folder}\\{filename}'
|
path_form = '{domain}\\{folder}\\{filename}'
|
||||||
all_items = [
|
all_items = [
|
||||||
{
|
{
|
||||||
'url': item[SQL_URL],
|
'url': item[SQL_URL],
|
||||||
|
|
Loading…
Reference in a new issue