2 |
|
|
3 |
|
# Runs the Validate External Links script |
4 |
|
# Arguments: --help, --links URL, --exceptions URL, --output DIR, --record-ok-links, --show-added-slashes, |
5 |
< |
# --show-https-upgrades, --show-yt-redirects, --suggest-snapshots, --skip-archive-links, --take-screenshots FILE, |
5 |
> |
# --show-https-upgrades, --show-yt-redirects, --suggest-snapshots, --check-archive-links, --take-screenshots FILE, |
6 |
|
# --timeout NUM, --start-url NUM, --end-url NUM, --upload FILE |
7 |
|
# Recommended rule: |
8 |
|
# |----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ---| |
25 |
|
#bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --start-url 2560 --end-url 2570 |
26 |
|
|
27 |
|
# Run with local extlinks and exceptions, start/end URLs, record OK codes, and don't upload |
28 |
< |
#bash "$VALEXTLINKS" --links "$LINKS_LOCAL" --exceptions "$EXCEPT_LOCAL" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --skip-archive-links --start-url 1 --end-url 25 |
28 |
> |
#bash "$VALEXTLINKS" --links "$LINKS_LOCAL" --exceptions "$EXCEPT_LOCAL" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --start-url 1 --end-url 25 |
29 |
|
|
30 |
|
# Run with unfinished screenshot feature, no upload |
31 |
|
#bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --take-screenshots "$CHROME" |
32 |
|
|
33 |
|
# Normal run with no upload |
34 |
< |
#bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --suggest-snapshots --skip-archive-links --timeout 10 |
34 |
> |
#bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --suggest-snapshots --timeout 10 |
35 |
|
|
36 |
|
# Normal run |
37 |
< |
bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --suggest-snapshots --skip-archive-links --timeout 10 --upload "$UPLOAD_INFO" |
37 |
> |
bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --suggest-snapshots --timeout 10 --upload "$UPLOAD_INFO" |