Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Download Websites

Download Websites #623

# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license
# Action to download Ultralytics website and docs in parallel
name: Download Websites
permissions:
contents: none
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # runs at 00:00 UTC every day
push:
branches:
- gh-pages
jobs:
Download:
runs-on: ubuntu-latest
# continue-on-error: true
strategy:
matrix:
url:
- https://www.ultralytics.com/
- https://docs.ultralytics.com/
- https://handbook.ultralytics.com/
fail-fast: false
steps:
- name: Download ${{ matrix.url }}
run: |
mkdir website
wget -P website \
--recursive \
--no-parent \
--adjust-extension \
--reject "*.jpg*,*.jpeg*,*.png*,*.gif*,*.webp*,*.svg*,*.avif*,*.txt,*.ico*,*.bmp*,*.tiff*,*.tif*,*.psd*,*.raw*,*.heic*,*.jfif*,*.webm*,*.mp4*,*.mov*,*.wmv*,*.flv*,*.avi*,*.mkv*" \
--wait=0.5 \
--random-wait \
--reject-regex '/(zh|ko|ja|ru|de|fr|es|pt|ar|tr|vi|it)/.*|(embedly\.com|youtube\.com)' \
${{ matrix.url }}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.