Ignore:
Timestamp:
Mar 17, 2020, 5:07:35 PM (5 years ago)
Author:
iritscen
Message:

Fixed ValExtLinks' reading of Archive API replies. Fix for reading links that happen to have a shebang in them. Now knows how to handle NULL namespace links. Now prints elapsed time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Validate External Links/Run validate_external_links.command

    r1075 r1118  
    55# --suggest-snapshots, --take-screenshots FILE, --start-url NUM, --end-url NUM, --upload FILE
    66# Recommended rule:
    7 # ----------------------------------------------------------------------------------------------
     7#|----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----|
    88
    99# Set variables for any arguments we might use below
     
    1515REPORT_DIR="/path/to/ValExtLinks reports"
    1616UPLOAD_INFO="/path/to/Validate External Links/sftp_login.txt"
    17 CHROME="/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary"
     17CHROME="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
    1818
    1919
    20 # Run for limited number of URLs, and record OK codes
     20# Run with end URL, and record OK codes
    2121#bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --end-url 70
    2222
     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
    2326# 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 3417
     27#bash "$VALEXTLINKS" --links "$LINKS_LOCAL" --exceptions "$EXCEPT_LOCAL" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots --start-url 120 --end-url 140
    2528
    2629# Run with unfinished screenshot feature
    2730#bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --take-screenshots "$CHROME"
    2831
    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
    3036bash "$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.