Explorar el Código

Generate commands for Blogspot

master
JustAnotherArchivist hace 5 años
padre
commit
3ee3ffc340
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. +12
    -0
      archivebot-blogspot

+ 12
- 0
archivebot-blogspot Ver fichero

@@ -0,0 +1,12 @@
#!/bin/bash
scriptpath="$(cd "$(dirname "$0")"; pwd -P)"

if [[ "$1" =~ ^http ]]
then
url="$1"
else
url="https://${1}.blogspot.com/"
fi

echo "!a ${url}"
echo "!ig $("${scriptpath}/archivebot-jobid-calculation" "${url}") ^${url//./\\.}search\?(.*&)?reverse-paginate=true(&|$)"

Cargando…
Cancelar
Guardar