forked from axiom-team/astrXbian
RUN p4n scraper
This commit is contained in:
parent
a0577990b6
commit
63bf1f227a
|
@ -128,10 +128,5 @@ echo "SUB-SCRAPING lieu FROM /astroport/map/$lat.$lon/p4n/spot.json"
|
||||||
loop=$(($loop+1));
|
loop=$(($loop+1));
|
||||||
done
|
done
|
||||||
|
|
||||||
##############################################################"
|
|
||||||
# IPNS SELF PUBLISH = mise à jour balise Station
|
|
||||||
########################################################################
|
|
||||||
~/.zen/astrXbian/zen/ipns_self_publish.sh
|
|
||||||
########################################################################
|
|
||||||
# ipfs cat /ipns/$IPFSNODEID/.$IPFSNODEID/astroport/map/$lat.$lon/p4n/spot.json | jq
|
# ipfs cat /ipns/$IPFSNODEID/.$IPFSNODEID/astroport/map/$lat.$lon/p4n/spot.json | jq
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -41,7 +41,10 @@ do
|
||||||
ipfs --timeout=90s get --output=/home/$YOU/.zen/ipfs_swarm/ /ipns/$ipfsnodeid
|
ipfs --timeout=90s get --output=/home/$YOU/.zen/ipfs_swarm/ /ipns/$ipfsnodeid
|
||||||
[[ -f /home/$YOU/.zen/ipfs_swarm/.$ipfsnodeid/_xbian.zuid ]] && cat /home/$YOU/.zen/ipfs_swarm/.$ipfsnodeid/_xbian.zuid || echo "NO ZUID"
|
[[ -f /home/$YOU/.zen/ipfs_swarm/.$ipfsnodeid/_xbian.zuid ]] && cat /home/$YOU/.zen/ipfs_swarm/.$ipfsnodeid/_xbian.zuid || echo "NO ZUID"
|
||||||
|
|
||||||
|
echo "This is the list of your friend friends"
|
||||||
|
ls -d ~/.zen/ipfs_swarm/.$ipfsnodeid/FRIENDS/*/ | rev | cut -d '/' -f 2 | rev
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
|
@ -335,12 +335,12 @@ echo "</main></body></html>" >> ~/.zen/ipfs/.${IPFSNODEID}/FRIENDS/index.html
|
||||||
########################################################################
|
########################################################################
|
||||||
## [[ $(which wp) ]] && ~/.zen/astrXbian/zen/wordpress_channel.sh
|
## [[ $(which wp) ]] && ~/.zen/astrXbian/zen/wordpress_channel.sh
|
||||||
|
|
||||||
|
## RUN p4n scraper
|
||||||
|
~/.zen/astrXbian/actions/p4n.swarmscraper.sh
|
||||||
|
|
||||||
# IPNS SELF PUBLISH = mise à jour balise Station
|
# IPNS SELF PUBLISH = mise à jour balise Station
|
||||||
########################################################################
|
########################################################################
|
||||||
#~/.zen/astrXbian/zen/ipns_self_publish.sh
|
~/.zen/astrXbian/zen/ipns_self_publish.sh
|
||||||
########################################################################
|
########################################################################
|
||||||
~/.zen/astrXbian/actions/p4n.swarmscraper.sh
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue