Browse Source

Spurious end-of-lines were added

merge-requests/3/head
Stephane Bortzmeyer 1 year ago
parent
commit
afd590bddd
  1. 2
      geminitrack
  2. 1
      geminitrack.md

2
geminitrack

@ -219,7 +219,7 @@ while total_attempts < maximum_files and len(to_retrieve) > 0:
else:
pass
content.append(line)
f.write("\n".join(content))
f.write("".join(content))
f.close()
if gempub:
pubfile.write(filename)

1
geminitrack.md

@ -25,6 +25,7 @@ Warning: characters in the URL path must be letters, digits and a few others. Ev
* `--maximum-time N`: maximum number of seconds for the download (default 30)
* `--sleep N`: number of seconds to sleep between two resources (default 1)
* `--patch-links`: adjust the links in the gemtext files so that local reading of stored files will work (default is to leave the files and their links as they are)
* `--gempub`: produces a Gempub (for ebooks) file
* `--raw-directory`: do not add the capsule name (and possibly path) after the storage directory (default is to add them)
* `--secure`: accepts only certificates signed a known Certificate Authority (default is to accept anything)
* `--no-tofu`: do not perform TOFU (Trust On First Use) key checking

Loading…
Cancel
Save