-------------------
Many filename related API changes.
The terms (both in code and doc) themselves are changed.
Basically::
url -> rsrc (resource)
fname, download_file -> dfile
fnew, extracted_file -> efile
This is so great a change,
I recommend to use brand-new working directory (new '_htmls' directory).
Since previous syntax created so many now-redundant directories for files,
if you have many old files (cache) in '_htmls' directory,
it is very confusing.
**Change:**
* **!!** Change name syntax of dfile, Using suffix '.f'
Given URL::
https://en.wikipedia.org/wiki/XPath
Old dfile::
_htmls/en.wikipedia.org/wiki/XPath/_
Now::
_htmls/en.wikipedia.org/wiki/XPath
(Only when there is a file-directory conflict in system)::
_htmls/en.wikipedia.org/wiki/XPath.f
NOTE: The change is always to the file (not the directory),
e.g. when trying to write a dfile ('a/b/c') but there is already a dfile 'a/b',
the latter changes to 'a/b.f'.
* **!!** Change name syntax of efile using suffix '.orig'
Reuse the same name as dfile,
but make sure to rename dfile with the suffix.
Given URL::
https://en.wikipedia.org/wiki/XPath
Old::
_htmls/en.wikipedia.org/wiki/XPath (dfile)
_htmls/en.wikipedia.org/wiki/XPath~.html (efile)
Now::
_htmls/en.wikipedia.org/wiki/XPath.orig (dfile)
_htmls/en.wikipedia.org/wiki/XPath (efile)
* **!!** Change default resource filename 'urls.txt' -> 'rsrcs.txt'
**Add:**
* Use temporary file when downloading (with suffix '.part')