You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not that experienced in bash programming but this is a fix that works for me:
Line108 urls=$(curl -sL $PROTO://www.bing.com | \
Line114 archiveUrls=$(curl -sL "$PROTO://www.bing.com/HPImageArchive.aspx?format=js&n=$BOOST" | \
After moving to Arch I decided to give this forgotten script a try. It didn't work. It was also very complicated. URL parsing from JSON is a crazy thing to try to do in a bash script. I don't have a Mac to test these changes on but hopefully everything still works. There were a number of overlapping PRs over the years that made it into this revision. I've tried to add credit to the original PRs where applicable.
Summary of changes:
1. Merge latest and boost code paths (From @Lyncredible in #39)
2. Use https for all requests if -s (From @Lyncredible in #39)
3. Update URL patterns (From @Lyncredible in #39, @microdog in #36, @nitrogear in #23)
4. Add UHD support (fixes#43)
5. Remove contributing.json as it wasn't used anymore
Steps to reproduce:
Current behaviour:
Syntax Error Appears,
Expected behaviour:
Downloading the images and display the downloaded images to the terminal.
The text was updated successfully, but these errors were encountered: