summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2025-09-02 22:12:42 +0200
committerTom Smeding <tom@tomsmeding.com>2025-09-02 22:12:42 +0200
commit64f45a4f26ba67cefb54d614c822451b38d10e10 (patch)
treef2714465e466a2c81ef7c5f19569dfe97efea74b /modules
parentad31d94afb9a864f80653050924d3b3af358bfcc (diff)
vacancies: add mpg (max planck gesellschaft)
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/vacancies/getters/mpg.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/vacancies/getters/mpg.sh b/modules/vacancies/getters/mpg.sh
new file mode 100755
index 0000000..bf7f222
--- /dev/null
+++ b/modules/vacancies/getters/mpg.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# <td headers="view-ocm-pp-project-title-table-column" class="views-field views-field-ocm-pp-project-title"><a href="/node/21090">Identifying novel ways of inducing effective angiogenesis and the development of arteries</a> </td>
+
+
+curl -s 'https://postdocprogram.mpg.de/all-postdoc-positions' \
+ | sed -n '/td.*project-title/ s/^ *<td[^>]*> *<a href="\([^"]*\)"[^>]*>\([^<]*\).*/\2 (https:\/\/postdocprogram.mpg.de\1)/p'