Read HTML source to string

后端 未结 4 1440
臣服心动
臣服心动 2021-02-06 16:22

I hope you don\'t frown on me too much, but this should be answerable by someone fairly easily. I want to read a file on a website into a string, so I can extract information fr

4条回答
  •  无人及你
    2021-02-06 17:11

    if it is a hack - then just grab the source from show source, and save as txt. then you can open it with a normal file io stream.

    • all thos pesky libraries are a hint that it is a common and non-trivial excercise to do it right... :)

提交回复
热议问题