diff options
| author | Gooderist <45722503+Gooderist0x1@users.noreply.github.com> | 2020-10-10 21:46:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-10 21:46:15 -0500 |
| commit | 796d3d439814b25158cbea75882a6db425b1b979 (patch) | |
| tree | f0dc87ae514ee285917cb790f91d0abe8d3784a7 /README.md | |
| parent | 66e21dbcada9ffc61d3462df9a4228063dfcf315 (diff) | |
Update README.md
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 : |