5 ms·
Correction: s/JSON/XML/;s/nameofblog/blogID/ Been some years since I last used this. blogID is extracted from HTML at nameofblog.blogspot.com as in the exampl
by 1vuio0pswjnm7 3y ago
Correction: s/JSON/XML/;s/nameofblog/blogID/
Been some years since I last used this.
blogID is extracted from HTML at nameofblog.blogspot.com as in the example script below.
According to personal preference, I have a custom filter to process the XML into formatted plaintext, no images.
To see some sample blogNames and blogIDs, search
site:www.blogger.com targetBlogID
Something like
tr @ '\15' << eof|openssl s_client -tls1_3 -connect 142.250.185.132:443 -ign_eof > 1.htm
GET /search?q=site%3Awww.blogger.com%20targetBlogID&num=100&filter=0&start=1&scoring=d HTTP/1.0@
Host: www.google.com@
Connection: close@
@
eof
firefox ./1.htm
Example script
test $1||exec echo usage: $0 nameofblog
x=$(curl -sA "" https://$1.blogspot.com|grep -o targetBlogID=[0-9]*|sed -n '1s/.*=//p;s/ //');
test ${#x} = 19||exit;curl -sA "" https://www.blogger.com/feeds/$x/posts/default;