Ostatnio aktywny 2 weeks ago

Not sure where I found this script (qrzdiff.sh) - but I use it in conjunction with urlwatch

dominic zrewidował ten Gist 2 weeks ago. Przejdź do rewizji

2 files changed, 8 insertions

qrzdiff.sh(stworzono plik)

@@ -0,0 +1,5 @@
1 + #!/bin/bash
2 + OLD=$(cat "$1" | grep "jQuery('.action-render-').contents().find('#biodata').html" | sed -e "s/^\s*jQuery('\.action-render-').contents()\.find('#biodata').html( Base64\.decode(\"//" | sed -e "s/\") );$//" | base64 -d)
3 + NEW=$(cat "$2" | grep "jQuery('.action-render-').contents().find('#biodata').html" | sed -e "s/^\s*jQuery('\.action-render-').contents()\.find('#biodata').html( Base64\.decode(\"//" | sed -e "s/\") );$//" | base64 -d)
4 + diff -purN <(echo "$OLD") <( echo "$NEW")
5 + exit 0

urls.yaml(stworzono plik)

@@ -0,0 +1,3 @@
1 + diff_tool: /home/dominic/bin/qrzdiff.sh
2 + kind: url
3 + url: https://www.qrz.com/db/OE7DRT
Nowsze Starsze