@@ -50,14 +50,12 @@ 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]
54- [--cleanup CLEANUP] [--force-pass FORCE_PASS]
55- [--no-print NO_PRINT] [--file-types FILE_TYPES]
53+ usage: urlchecker check [-h] [-b BRANCH] [--subfolder SUBFOLDER] [--cleanup]
54+ [--force-pass] [--no-print] [--file-types FILE_TYPES]
5655 [--white-listed-urls WHITE_LISTED_URLS]
5756 [--white-listed-patterns WHITE_LISTED_PATTERNS]
5857 [--white-listed-files WHITE_LISTED_FILES]
59- [--save SAVE] [--retry-count RETRY_COUNT]
60- [--timeout TIMEOUT]
58+ [--retry-count RETRY_COUNT] [--timeout TIMEOUT]
6159 path
6260
6361positional arguments:
@@ -71,12 +69,11 @@ optional arguments:
7169 --subfolder SUBFOLDER
7270 relative subfolder path within path (if not specified,
7371 we use root)
74- --cleanup CLEANUP remove root folder after checking (defaults to False,
72+ --cleanup remove root folder after checking (defaults to False,
7573 no cleaup)
76- --force-pass FORCE_PASS
77- force successful pass (return code 0) regardless of
74+ --force-pass force successful pass (return code 0) regardless of
7875 result
79- --no-print NO_PRINT Skip printing results to the screen (defaults to
76+ --no-print Skip printing results to the screen (defaults to
8077 printing to console).
8178 --file-types FILE_TYPES
8279 comma separated list of file extensions to check
@@ -89,7 +86,6 @@ optional arguments:
8986 --white-listed-files WHITE_LISTED_FILES
9087 comma separated list of white listed files and
9188 patterns for files (no spaces)
92- --save SAVE Path toa csv file to save results to.
9389 --retry-count RETRY_COUNT
9490 retry count upon failure (defaults to 2, one retry).
9591 --timeout TIMEOUT timeout (seconds) to provide to the requests library
@@ -101,15 +97,14 @@ along with the number of retries or timeout (seconds). The most basic usage will
10197check an entire directory. Let' s clone and check the directory of one of the
10298maintainers:
10399
104- ```diff
100+ ```bash
105101git clone https://github.com/SuperKogito/SuperKogito.github.io.git
106102cd SuperKogito.github.io
107103urlchecker check .
108104
109105$ urlchecker check .
110-
111106 original path: .
112- final path: /home/kogito/Desktop/urlstechie /SuperKogito.github.io
107+ final path: /tmp /SuperKogito.github.io
113108 subfolder: None
114109 branch: master
115110 cleanup: False
@@ -120,43 +115,42 @@ $ urlchecker check .
120115 file patterns: []
121116 force pass: False
122117 retry count: 2
123- save: None
124118 timeout: 5
125119
126120 /tmp/SuperKogito.github.io/README.md
127121 ------------------------------------
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
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
145139
146140 /tmp/SuperKogito.github.io/_project/src/postprocessing.py
147141 ---------------------------------------------------------
148142No urls found.
149143...
150144
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
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
160154
161155
162156Done. All URLS passed.
@@ -184,7 +178,7 @@ urlchecker check --white-listed-files=README.md,_config.yml
184178If you want to save your results to file, perhaps for some kind of record or
185179other data analysis, you can provide the ` --save` argument:
186180
187- ` ` ` diff
181+ ` ` ` bash
188182$ urlchecker check --save results.csv .
189183 original path: .
190184 final path: /home/vanessa/Desktop/Code/urlstechie/urlchecker-test-repo
@@ -201,30 +195,30 @@ $ urlchecker check --save results.csv .
201195 save: results.csv
202196 timeout: 5
203197
204- /home/vanessa/Desktop/Code/urlstechie/urlchecker-test-repo/README.md
198+ /home/vanessa/Desktop/Code/urlstechie/urlchecker-test-repo/README.md
205199 --------------------------------------------------------------------
206200No urls found.
207201
208- /home/vanessa/Desktop/Code/urlstechie/urlchecker-test-repo/test_files/sample_test_file.py
202+ /home/vanessa/Desktop/Code/urlstechie/urlchecker-test-repo/test_files/sample_test_file.py
209203 -----------------------------------------------------------------------------------------
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
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
214208
215- /home/vanessa/Desktop/Code/urlstechie/urlchecker-test-repo/test_files/sample_test_file.md
209+ /home/vanessa/Desktop/Code/urlstechie/urlchecker-test-repo/test_files/sample_test_file.md
216210 -----------------------------------------------------------------------------------------
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
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
228222...
229223
230224Saving results to /home/vanessa/Desktop/Code/urlstechie/urlchecker-test-repo/results.csv
@@ -330,3 +324,4 @@ be fairly straight forward to always find what you are looking for.
330324
331325If you need help, or want to suggest a project for the organization,
332326please [open an issue](https://github.com/urlstechie/urlchecker-python)
327+
0 commit comments