avatar
What language I should use?# Programming - 葵花宝典
w*w
1
I want to extract certain texts from web pages. The page may contain many
links
and I have to click links to see whether contents of links are related or not.
If there are related contents, I will copy and save related paragraphs into
a text tile; if not, I need go back and check the next link.
Can anyone tell me that what language I should use? Will scripts do this work?
What kinds of script?
Many thanks!
avatar
s*i
2
perl or python, IMHO

not.
work?

【在 w******w 的大作中提到】
: I want to extract certain texts from web pages. The page may contain many
: links
: and I have to click links to see whether contents of links are related or not.
: If there are related contents, I will copy and save related paragraphs into
: a text tile; if not, I need go back and check the next link.
: Can anyone tell me that what language I should use? Will scripts do this work?
: What kinds of script?
: Many thanks!

avatar
t*i
3
python吧,regular expression据说比perl的要好使,我没用过perl,只是道听途说。
用re处理网页相当方便。

【在 w******w 的大作中提到】
: I want to extract certain texts from web pages. The page may contain many
: links
: and I have to click links to see whether contents of links are related or not.
: If there are related contents, I will copy and save related paragraphs into
: a text tile; if not, I need go back and check the next link.
: Can anyone tell me that what language I should use? Will scripts do this work?
: What kinds of script?
: Many thanks!

avatar
N*y
4
Remember, if you are not skilled in programming and algorithm. Only describe
your task, do NOT describe your unefficient algorithm, otherwise you will be
limited to a bad result.

not.
work?

【在 w******w 的大作中提到】
: I want to extract certain texts from web pages. The page may contain many
: links
: and I have to click links to see whether contents of links are related or not.
: If there are related contents, I will copy and save related paragraphs into
: a text tile; if not, I need go back and check the next link.
: Can anyone tell me that what language I should use? Will scripts do this work?
: What kinds of script?
: Many thanks!

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。