Commit 3b85dd53 authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget: add support for single quote

parent 70fe354f
...@@ -491,7 +491,7 @@ get_urls() ...@@ -491,7 +491,7 @@ get_urls()
fi fi
# cat html, divide to lines by tags and cut off hrefs only # cat html, divide to lines by tags and cut off hrefs only
scat $URL | sed -e 's|<|<\n|g' -e 's|data-file=|href=|g' | \ scat $URL | sed -e 's|<|<\n|g' -e 's|data-file=|href=|g' -e "s|'|\"|g" | \
grep -i -o -E 'href="(.+)"' | cut -d'"' -f2 grep -i -o -E 'href="(.+)"' | cut -d'"' -f2
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment