- Timestamp:
- Mar 17, 2020, 5:07:35 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Validate External Links/Run validate_external_links.command
r1075 r1118 5 5 # --suggest-snapshots, --take-screenshots FILE, --start-url NUM, --end-url NUM, --upload FILE 6 6 # Recommended rule: 7 # ----------------------------------------------------------------------------------------------7 #|----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----| 8 8 9 9 # Set variables for any arguments we might use below … … 15 15 REPORT_DIR="/path/to/ValExtLinks reports" 16 16 UPLOAD_INFO="/path/to/Validate External Links/sftp_login.txt" 17 CHROME="/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary"17 CHROME="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" 18 18 19 19 20 # Run for limited number of URLs, and record OK codes20 # Run with end URL, and record OK codes 21 21 #bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --end-url 70 22 22 23 # Run with start/end URLs, and record OK codes 24 #bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --start-url 120 --end-url 140 25 23 26 # Run with local extlinks and exceptions, start/end URLs, and record OK codes 24 #bash "$VALEXTLINKS" --links "$LINKS_LOCAL" --exceptions "$EXCEPT_LOCAL" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --start-url 3394 --end-url 341727 #bash "$VALEXTLINKS" --links "$LINKS_LOCAL" --exceptions "$EXCEPT_LOCAL" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --start-url 120 --end-url 140 25 28 26 29 # Run with unfinished screenshot feature 27 30 #bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --take-screenshots "$CHROME" 28 31 29 # Normal run with upload 32 # Normal run with no upload 33 #bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --suggest-snapshots 34 35 # Normal run 30 36 bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --suggest-snapshots --upload "$UPLOAD_INFO"
Note:
See TracChangeset
for help on using the changeset viewer.