This shows you the differences between two versions of the page.
Next revision | Previous revision |
siteidiot [2018/12/05 23:27] – created yair | siteidiot [2018/12/05 23:42] (current) – yair |
---|
python main.py --domain https://idiot.io --output sitemap.txt | python main.py --domain https://idiot.io --output sitemap.txt |
| |
{{:pasted:20181205-212612.png?600&direct}} | |
| you can then push the sitemap.txt to the webserver using |
| rsync -av --rsync-path="sudo rsync" dev/python-sitemap/sitemap.txt idiot:/var/www/html |
| |
| note the [[https://stackoverflow.com/questions/11131477/how-to-change-the-owner-for-a-rsync|trick]] here with passing sudo rsync to the remote, it will bypass permission issues on the remote. (need to fix that good, a better option is to run this as a cron job on the server every few days\\ |
| |
| {{:pasted:20181205-213800.png?600&direct}} |
| |
| {{:pasted:20181205-214041.png?600&direct}} |
| |