diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2026-02-24 18:12:00 +0100 |
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2026-02-24 18:12:00 +0100 |
| commit | 06a420a6bca0c2e8b0921433a56a443e27801ee4 (patch) | |
| tree | 6554fb4ae99610131d67bf60c3e2ee653c3daecc /modules/vacancies/bak/cambridge.sh | |
| parent | 62eef1c32f26893b9d7d63bd809582d8feea7317 (diff) | |
vacancies: Remove job getters
Diffstat (limited to 'modules/vacancies/bak/cambridge.sh')
| -rwxr-xr-x | modules/vacancies/bak/cambridge.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/vacancies/bak/cambridge.sh b/modules/vacancies/bak/cambridge.sh new file mode 100755 index 0000000..f5f9fe1 --- /dev/null +++ b/modules/vacancies/bak/cambridge.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +set -euo pipefail + +curl -sL 'https://www.cam.ac.uk/jobs/term/Department-of-Computer-Science-and-Technology' | \ + sed ' +/<tbody>/,/<\/tbody>/!d +s|<a href="/jobs/term/[^"]*">[^<]*</a>||g +/<a href="\/jobs\//!d +s|^ *<a href="\([^"]*\)">\(.*\)</a>.*|\2 (https://www.cam.ac.uk\1)|' |
