This website works better with JavaScript.
Home
Explore
Help
Sign In
JustAnotherArchivist
/
little-things
Watch
2
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Generate commands for Blogspot
master
JustAnotherArchivist
4 years ago
parent
5090a8ad02
commit
3ee3ffc340
1 changed files
with
12 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-0
archivebot-blogspot
+ 12
- 0
archivebot-blogspot
View File
@@ -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(&|$)"
Write
Preview
Loading…
Cancel
Save