Remove (sigh, I guess that I've messed up with rename!?) - gophercgis - Collection of gopher CGI/DCGI for geomyidae
(HTM) hg clone https://bitbucket.org/iamleot/gophercgis
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) changeset fc7dda8b810979d11f9811d193704f6bf0c675b1
(DIR) parent b41fecd8da13c15fd87fbc349c32e88d7120bf49
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Tue, 21 Aug 2018 00:09:18
Remove (sigh, I guess that I've messed up with rename!?)
Diffstat:
instagram/comments.dcgi | 20 --------------------
1 files changed, 0 insertions(+), 20 deletions(-)
---
diff -r b41fecd8da13 -r fc7dda8b8109 instagram/comments.dcgi
--- a/instagram/comments.dcgi Tue Aug 21 00:08:39 2018 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-CGI="/cgi/instagram/user.dcgi"
-
-
-media="$2"
-
-
-/usr/bin/ftp -V -o - "https://www.instagram.com/p/${media}/" |
-sed -ne 's/;<\/script>$//' -e '/sharedData =/s/^.*sharedData = //p' |
-/usr/pkg/bin/jq -r '
-.entry_data.PostPage[].graphql.shortcode_media |
- .edge_media_to_comment | .edges[] |
- ( "[1|" + "@" +
- ( .node.owner.username | gsub("\\|"; "\\|") ) + "|" +
- "'"${CGI}?"'" + ( .node.owner.username | gsub("\\|"; "\\|") ) +
- "|server|port]",
- "t" + .node.text,
- "t" )
-'