I saw a table in a page in which a link is in a column of each row. I need to snap all the links. What I did is as the following.
emacs I use.sgml-mode, which can read the markup tags.sgml-pretty-print to render the buffer into a structural text. One tag at each line.delete-non-matching-lines. The result of the command shows the lines I need, like score.html?d=20220522
The final result looks like https://www.nhk.or.jp/goshogi/igo/score.html?d=20220522. I save the bunch of links alike to a list file. I can get the page contents from the list file then.
Created 2022-10-16T16:12:19+08:00 · Edit