@@ -50,12 +50,14 @@ for files. In this case, you can use urlchecker check:
5050$ urlchecker check --help
5151
5252$ urlchecker check --help
53- usage: urlchecker check [-h] [-b BRANCH] [--subfolder SUBFOLDER] [--cleanup]
54- [--force-pass] [--no-print] [--file-types FILE_TYPES]
53+ usage: urlchecker check [-h] [-b BRANCH] [--subfolder SUBFOLDER]
54+ [--cleanup CLEANUP] [--force-pass FORCE_PASS]
55+ [--no-print NO_PRINT] [--file-types FILE_TYPES]
5556 [--white-listed-urls WHITE_LISTED_URLS]
5657 [--white-listed-patterns WHITE_LISTED_PATTERNS]
5758 [--white-listed-files WHITE_LISTED_FILES]
58- [--retry-count RETRY_COUNT] [--timeout TIMEOUT]
59+ [--save SAVE] [--retry-count RETRY_COUNT]
60+ [--timeout TIMEOUT]
5961 path
6062
6163positional arguments:
@@ -69,11 +71,12 @@ optional arguments:
6971 --subfolder SUBFOLDER
7072 relative subfolder path within path (if not specified,
7173 we use root)
72- --cleanup remove root folder after checking (defaults to False,
74+ --cleanup CLEANUP remove root folder after checking (defaults to False,
7375 no cleaup)
74- --force-pass force successful pass (return code 0) regardless of
76+ --force-pass FORCE_PASS
77+ force successful pass (return code 0) regardless of
7578 result
76- --no-print Skip printing results to the screen (defaults to
79+ --no-print NO_PRINT Skip printing results to the screen (defaults to
7780 printing to console).
7881 --file-types FILE_TYPES
7982 comma separated list of file extensions to check
@@ -86,6 +89,7 @@ optional arguments:
8689 --white-listed-files WHITE_LISTED_FILES
8790 comma separated list of white listed files and
8891 patterns for files (no spaces)
92+ --save SAVE Path toa csv file to save results to.
8993 --retry-count RETRY_COUNT
9094 retry count upon failure (defaults to 2, one retry).
9195 --timeout TIMEOUT timeout (seconds) to provide to the requests library
@@ -97,14 +101,15 @@ along with the number of retries or timeout (seconds). The most basic usage will
97101check an entire directory. Let' s clone and check the directory of one of the
98102maintainers:
99103
100- ```bash
104+ ```diff
101105git clone https://github.com/SuperKogito/SuperKogito.github.io.git
102106cd SuperKogito.github.io
103107urlchecker check .
104108
105109$ urlchecker check .
110+
106111 original path: .
107- final path: /tmp /SuperKogito.github.io
112+ final path: /home/kogito/Desktop/urlstechie /SuperKogito.github.io
108113 subfolder: None
109114 branch: master
110115 cleanup: False
@@ -115,42 +120,43 @@ $ urlchecker check .
115120 file patterns: []
116121 force pass: False
117122 retry count: 2
123+ save: None
118124 timeout: 5
119125
120126 /tmp/SuperKogito.github.io/README.md
121127 ------------------------------------
122- https://travis-ci.com/SuperKogito/SuperKogito.github.io
123- https://www.python.org/download/releases/3.0/
124- https://superkogito.github.io/blog/diabetesML2.html
125- https://superkogito.github.io/blog/Cryptography.html
126- http://www.sphinx-doc.org/en/master/
127- https://github.com/
128- https://superkogito.github.io/blog/SignalFraming.html
129- https://superkogito. github.io/blog/VoiceBasedGenderRecognition.html
130- https://travis-ci.com/SuperKogito/SuperKogito. github.io.svg?branch=master
131- https://superkogito.github.io/blog/SpectralLeakageWindowing.html
132- https://superkogito.github.io/blog/Intro.html
133- https://github.com/SuperKogito/SuperKogito.github.io/workflows/Check%20URLs/badge.svg
134- https://superkogito.github.io/blog/diabetesML1.html
135- https://superkogito.github.io/blog/AuthenticatedEncryption.html
136- https://superKogito.github.io/blog/ffmpegpipe.html
137- https://superkogito.github.io/blog/Encryption.html
138- https://superkogito.github.io/blog/NaiveVad.html
128+ + https://travis-ci.com/SuperKogito/SuperKogito.github.io
129+ + https://www.python.org/download/releases/3.0/
130+ + https://superkogito.github.io/blog/diabetesML2.html
131+ + https://superkogito.github.io/blog/Cryptography.html
132+ + http://www.sphinx-doc.org/en/master/
133+ + https://github.com/
134+ + https://superkogito.github.io/blog/SignalFraming.html
135+ + https://travis-ci.com/SuperKogito/SuperKogito. github.io.svg?branch=master
136+ + https://superkogito. github.io/blog/VoiceBasedGenderRecognition.html
137+ + https://superkogito.github.io/blog/SpectralLeakageWindowing.html
138+ + https://superkogito.github.io/blog/Intro.html
139+ + https://github.com/SuperKogito/SuperKogito.github.io/workflows/Check%20URLs/badge.svg
140+ + https://superkogito.github.io/blog/diabetesML1.html
141+ + https://superkogito.github.io/blog/AuthenticatedEncryption.html
142+ + https://superKogito.github.io/blog/ffmpegpipe.html
143+ + https://superkogito.github.io/blog/Encryption.html
144+ + https://superkogito.github.io/blog/NaiveVad.html
139145
140146 /tmp/SuperKogito.github.io/_project/src/postprocessing.py
141147 ---------------------------------------------------------
142148No urls found.
143149...
144150
145- https://github.com/marsbroshok/VAD-python/blob/d74033aa08fbbbcdbd491f6e52a1dfdbbb388eea/vad.py#L64
146- https://github.com/fgnt/pb_chime5
147- https://ai.facebook.com/blog/wav2vec-state-of-the-art-speech-recognition-through-self-supervision/
148- https://corplinguistics.wordpress.com/tag/mandarin/
149- http://www.cs.tut.fi/~tuomasv/papers/ijcnn_paper_valenti_extended.pdf
150- http://shachi.org/resources
151- https://conference.scipy.org/proceedings/scipy2015/pdfs/brian_mcfee.pdf
152- https://www.dlology.com/blog/simple-speech-keyword-detecting-with-depthwise-separable-convolutions/
153- https://stackoverflow.com/questions/49197916/how-to-profile-cpu-usage-of-a-python-script
151+ + https://github.com/marsbroshok/VAD-python/blob/d74033aa08fbbbcdbd491f6e52a1dfdbbb388eea/vad.py#L64
152+ + https://github.com/fgnt/pb_chime5
153+ + https://ai.facebook.com/blog/wav2vec-state-of-the-art-speech-recognition-through-self-supervision/
154+ + https://corplinguistics.wordpress.com/tag/mandarin/
155+ + http://www.cs.tut.fi/~tuomasv/papers/ijcnn_paper_valenti_extended.pdf
156+ - http://shachi.org/resources
157+ + https://conference.scipy.org/proceedings/scipy2015/pdfs/brian_mcfee.pdf
158+ + https://www.dlology.com/blog/simple-speech-keyword-detecting-with-depthwise-separable-convolutions/
159+ + https://stackoverflow.com/questions/49197916/how-to-profile-cpu-usage-of-a-python-script
154160
155161
156162Done. All URLS passed.
@@ -178,7 +184,7 @@ urlchecker check --white-listed-files=README.md,_config.yml
178184If you want to save your results to file, perhaps for some kind of record or
179185other data analysis, you can provide the ` --save` argument:
180186
181- ` ` ` bash
187+ ` ` ` diff
182188$ urlchecker check --save results.csv .
183189 original path: .
184190 final path: /home/vanessa/Desktop/Code/urlstechie/urlchecker-test-repo
@@ -195,30 +201,30 @@ $ urlchecker check --save results.csv .
195201 save: results.csv
196202 timeout: 5
197203
198- /home/vanessa/Desktop/Code/urlstechie/urlchecker-test-repo/README.md
204+ /home/vanessa/Desktop/Code/urlstechie/urlchecker-test-repo/README.md
199205 --------------------------------------------------------------------
200206No urls found.
201207
202- /home/vanessa/Desktop/Code/urlstechie/urlchecker-test-repo/test_files/sample_test_file.py
208+ /home/vanessa/Desktop/Code/urlstechie/urlchecker-test-repo/test_files/sample_test_file.py
203209 -----------------------------------------------------------------------------------------
204- https://github.com/SuperKogito/URLs-checker/README.md
205- https://github.com/SuperKogito/URLs-checker/README.md
206- https://www.google.com/
207- https://github.com/SuperKogito
210+ - https://github.com/SuperKogito/URLs-checker/README.md
211+ - https://github.com/SuperKogito/URLs-checker/README.md
212+ + https://www.google.com/
213+ + https://github.com/SuperKogito
208214
209- /home/vanessa/Desktop/Code/urlstechie/urlchecker-test-repo/test_files/sample_test_file.md
215+ /home/vanessa/Desktop/Code/urlstechie/urlchecker-test-repo/test_files/sample_test_file.md
210216 -----------------------------------------------------------------------------------------
211- https://github.com/SuperKogito/URLs-checker/blob/master/README.md
212- https://github.com/SuperKogito/Voice-based-gender-recognition/issues
213- https://github.com/SuperKogito/spafe/issues/7
214- https://github.com/SuperKogito/URLs-checker
215- https://github.com/SuperKogito/URLs-checker/issues
216- https://github.com/SuperKogito/spafe/issues/4
217- https://github.com/SuperKogito/URLs-checker/issues/2
218- https://github.com/SuperKogito/URLs-checker/issues/2
219- https://github.com/SuperKogito/Voice-based-gender-recognition/issues/1
220- https://github.com/SuperKogito/spafe/issues/6
221- https://github.com/SuperKogito/spafe/issues
217+ - https://github.com/SuperKogito/URLs-checker/blob/master/README.md
218+ + https://github.com/SuperKogito/Voice-based-gender-recognition/issues
219+ + https://github.com/SuperKogito/spafe/issues/7
220+ - https://github.com/SuperKogito/URLs-checker
221+ - https://github.com/SuperKogito/URLs-checker/issues
222+ + https://github.com/SuperKogito/spafe/issues/4
223+ - https://github.com/SuperKogito/URLs-checker/issues/2
224+ - https://github.com/SuperKogito/URLs-checker/issues/2
225+ + https://github.com/SuperKogito/Voice-based-gender-recognition/issues/1
226+ + https://github.com/SuperKogito/spafe/issues/6
227+ + https://github.com/SuperKogito/spafe/issues
222228...
223229
224230Saving results to /home/vanessa/Desktop/Code/urlstechie/urlchecker-test-repo/results.csv
0 commit comments