It works! Thank you very much.
Hi, when several segments are concatenated the resulting file name is "concatened". It would be useful if the final name were the name of the first segment with a suffix such as "joined" or "concatened". Thank you.
Thanks Benito, it works perfectly! The command works fine, but when there is a script tag before it doesn't work. How do I specify the script tag I want to get? I also want to save the data in variables, but I seem to be doing something wrong. I'm using this command: for /f "delims=" %%a in ('xidel "page.html" -e "name:=json(substring-after(//script, \"myvar =\"))/(name)" -e "lastname:=json(substring-after(//script, \"myvar =\"))/(lastname)" --output-format cmd') do %%a
I want to extract data from a json that is defined in a javascript variable. This looks like this: ...HTML CODE... <script> var myvar = { name: "John", lastname: "Doe" } </script> ...HTML CODE... I need to get: John Doe Can I do it using Xidel?
Thanks! I didn't know that parameter. Unfortunately the documentation is very little.
Hi, I want to request a URL through a proxy. Is it possible to use Xidel with a proxy with a syntax similar to CURL? curl -x host:port -U username:pass