如何在网站加载/打开时动态地复制网站中特定标签之间的文本 [英] How to dynamically copy the text between a particular tag from a website whenever it is loaded/opened

查看:123
本文介绍了如何在网站加载/打开时动态地复制网站中特定标签之间的文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么办法可以让某个网站的特定标签(例如< p>< / p>)之间的文字?

完成场景

假设我访问了一个网站xyz.com。现在我想要访问我访问的
(例如xyz.com/abc,xyz.com/a/b等)网站的每个索引页面,以及< P> ...< / p>标签或第n个< P> ..< / p>标记将被复制到某些文本文件中以供离线阅读/学习或进行硬拷贝。 我使用Evernote Clipper以此目的。
首先安装Evernote。这是一个记录笔记的软件(4000万用户)。我个人认为这个软件非常棒,并且广泛使用它。
然后获得浏览器扩展Evernote Clipper。我使用铬。我不确定您拥有的浏览器是否具有该扩展名,请检查该扩展名。
使用evernote剪辑器,您可以选择网页上的某个区域进行剪辑。或者您可以选择整个页面。
剪辑完成后,它会同步到您在第一步安装的evernote。
之后,即使您离线也可以使用这些笔记。



我知道它几乎听起来像是Evernote的广告,但我真的没有联属与公司合作。
我只是一个用户而且喜欢这个软件。到目前为止,该软件的免费版本拥有我需要的所有功能,所以没有购买高级版本。希望它也能帮助你。


Is there any way to get the text between a particular tag (say < p>....< /p>) for a website ?

Complete Scenario
Suppose I visit a website xyz.com. Now I want for every index page of the site
(e.g. xyz.com/abc,xyz.com/a/b etc)
that I visit , the text between < p>...< /p> tag or n'th < p>..< /p> tag to be copied in some text file for offline reading/studying or for hard copy.

解决方案

I use Evernote Clipper for this purpose. First install Evernote. It is a software to keep notes (40 million plus users). I personally think this software is awesome and use it extensively. Then get the browser extension Evernote Clipper. I use chrome. I am not sure the browser that you have would have that extension so check on that. With evernote clipper you can either select an area on the webpage to clip it. Or you can select the whole page. Once clipped, it will sync to the evernote that you installed in the first step. After that the notes will be available to you even if you go offline.

I know it almost sounds like an advertisement for evernote but I am really not affiliated with the company. I am just a user and love this software. So far the free version of this software has everything that I need so haven't purchased the premium version. Hope it helps you too.

这篇关于如何在网站加载/打开时动态地复制网站中特定标签之间的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆