We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi Sam @roach0123, since the latest update was applied a few days ago - this widget is throwing and error.
curl -s 'http://www.bing.com/HPImageArchive.aspx?format=xml&idx=0&n=1&mkt=en-US' | grep -E -m 1 -o '(.)' | sed -e 's,.([^<]).,\1,g' ^ ParseError: octal escape sequences are not allowed \1
The text was updated successfully, but these errors were encountered:
I can confirm this is an issue i'm experiencing as well
Sorry, something went wrong.
@blackley edit the file and remove the end section with the sed statement that's causing the error:
So change from this:
curl -s 'http://www.bing.com/HPImageArchive.aspx?format=xml&idx=0&n=1&mkt=en-US' | grep -E -m 1 -o '<url>(.*)</url>' | sed -e 's,.*<url>\([^<]*\)</url>.*,\1,g'
To this:
curl -s 'http://www.bing.com/HPImageArchive.aspx?format=xml&idx=0&n=1&mkt=en-US' | grep -E -m 1 -o '<url>(.*)</url>'
Worked for me because he has code at the bottom to remove/replace the <url> and </url> in the returned data.
<url>
</url>
Thanks! Maybe create Pull Request with this fix?
No branches or pull requests
Hi Sam @roach0123, since the latest update was applied a few days ago - this widget is throwing and error.
curl -s 'http://www.bing.com/HPImageArchive.aspx?format=xml&idx=0&n=1&mkt=en-US' | grep -E -m 1 -o '(.)' | sed -e 's,.([^<]).,\1,g'
^
ParseError: octal escape sequences are not allowed \1
The text was updated successfully, but these errors were encountered: