From 796d3d439814b25158cbea75882a6db425b1b979 Mon Sep 17 00:00:00 2001 From: Gooderist <45722503+Gooderist0x1@users.noreply.github.com> Date: Sat, 10 Oct 2020 21:46:15 -0500 Subject: Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9ffa3f0..3a8f2ef 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ If the original game updates, here is how you can update the mirror: from the `/img/` directory : * `wget --convert-links -O index.html http://orteil.dashnet.org/cookieclicker/img/` -* `grep -o 'href="[^/?"]*' index.html | sed 's/href="//' | sed 's/Thumbs.db//' | sed '/^[[:space:]]*$/d'> list.txt` +* `grep -v PARENTDIR index.html | grep -o '/img/*[a-zA-ZA-z]*.*"' | sed 's/\/img\///' | sed 's/"//' >list.txt` * `wget -N -i list.txt -B http://orteil.dashnet.org/cookieclicker/img/` #### 2. Fetch all new sounds : @@ -23,7 +23,7 @@ from the `/img/` directory : Similarly, from the `/snd/` directory : * `wget --convert-links -O index.html http://orteil.dashnet.org/cookieclicker/snd/` -* `grep -o 'href="[^/?"]*' index.html | sed 's/href="//' | sed 's/Thumbs.db//' | sed '/^[[:space:]]*$/d'> list.txt` +* `grep -v PARENTDIR index.html | grep -o '/snd/*[a-zA-ZA-z]*.*"' | sed 's/\/snd\///' | sed 's/"//' >list.txt` * `wget -N -i list.txt -B http://orteil.dashnet.org/cookieclicker/snd/` #### 3. Update `js` and `html` files : -- cgit v1.2.3