Ignore:
Timestamp:
May 7, 2023, 9:53:19 PM (19 months ago)
Author:
iritscen
Message:

ValExtLinks: Added special code for checking OneDrive file links. Added some safety code around 'curl' usage on YT and OneDrive link checks. Fix logic error with handling the wildcard in a URL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Validate External Links/validate_external_links.command

    r1157 r1182  
    1919
    2020
    21 # Run with end URL, record OK codes, and don't upload
    22 #bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots-ng --end-url 70
     21# Run with start/end URLs, record OK codes, and don't upload
     22#bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots-ng --timeout 10 --show-https-upgrades --show-added-slashes --show-yt-redirects --start-url 445 --end-url 451
    2323
    2424# Run with start/end URLs, record OK codes, suggest OK snapshots, and don't upload
    25 #bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots-ng --suggest-snapshots-ok --start-url 2836 --end-url 3300
     25#bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --suggest-snapshots-ng --suggest-snapshots-ok --timeout 10 --show-https-upgrades --show-added-slashes --show-yt-redirects --start-url 445 --end-url 451
    2626
    2727# Run with local extlinks and exceptions, start/end URLs, record OK codes, and don't upload
     
    3131#bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --record-ok-links --take-screenshots "$CHROME"
    3232
     33# Normal run with no upload, snapshot suggestions, https upgrades or added slashes
     34#bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --timeout 10
     35
    3336# Normal run with no upload
    3437#bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --suggest-snapshots-ng --timeout 10 --show-https-upgrades --show-added-slashes
    3538
    3639# Normal run
    37 bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --suggest-snapshots-ng --timeout 10 --show-https-upgrades --show-added-slashes --upload "$UPLOAD_INFO"
     40bash "$VALEXTLINKS" --links "$LINKS_ONLINE" --exceptions "$EXCEPT_ONLINE" --output "$REPORT_DIR" --suggest-snapshots-ng --timeout 10 --show-https-upgrades --show-added-slashes --show-yt-redirects --upload "$UPLOAD_INFO"
Note: See TracChangeset for help on using the changeset viewer.