Is it possible to parse data from web html page using windows batch?
let's say I have a web page: www.domain.com/data/page/1 Page source html:
...
<div><a href="/post/view/664654"> ....
....
In this case I would need get /post/view/664654 from web page.
My idea is to loop through www.domain.com/data/page/1 ... # (to some given number) and extract all the /post/view's. Then I would have a list of links, and from each of those links I would extract href values (either images or videos).
So far I was only successful in downloading image or video when I know exact link, using wget. But I don't know how (if possible at all) to parse html data.
edit
<body>
<nav>
<section>links I dont need</section>
</nav>
<article>
<section>links I need</section>
</article>