RUN p4n scraper

This commit is contained in:
fred 2021-09-13 02:34:17 +02:00
parent a0577990b6
commit 63bf1f227a
3 changed files with 6 additions and 8 deletions

View File

@ -128,10 +128,5 @@ echo "SUB-SCRAPING lieu FROM /astroport/map/$lat.$lon/p4n/spot.json"
loop=$(($loop+1));
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
exit 0

View File

@ -41,7 +41,10 @@ do
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"
echo "This is the list of your friend friends"
ls -d ~/.zen/ipfs_swarm/.$ipfsnodeid/FRIENDS/*/ | rev | cut -d '/' -f 2 | rev
done
exit 0

View File

@ -335,12 +335,12 @@ echo "</main></body></html>" >> ~/.zen/ipfs/.${IPFSNODEID}/FRIENDS/index.html
########################################################################
## [[ $(which wp) ]] && ~/.zen/astrXbian/zen/wordpress_channel.sh
## RUN p4n scraper
~/.zen/astrXbian/actions/p4n.swarmscraper.sh
# 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