下载网页 [英] Downloading web pages

查看:90
本文介绍了下载网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我订阅了在线杂志.但是,安排却远远不能令人满意.每次我想阅读杂志时,我都需要登录并选择问题,然后转到我想阅读的页面...

这是不好的!如果我乘坐的飞机没有互联网连接怎么办?

相反,我希望能够将整本杂志下载到我的平板电脑上并阅读,也许以PDF文件格式...

关于如何以编程方式实现此目标的任何想法吗?我只了解C ++/MFC,但是如果有人使用C#并提供一些提示,我将不胜感激.

干杯
[已删除的电子邮件]

Hello all,

I am subscribed to an Online magazine. The arrangement however is far from satisfactory... Each time I want to read my magazine, I need to log on and select the issue, then go to the page I want to read...

This is not good! What if I am on a plane flying somewhere with no Internet connection?

Instead, I would love to be able to download the whole magazine to my Tablet, and read it, maybe in a PDF file format...

Any idea on how I can programatically achieve this? I only understand C++ / MFC but if someone has a C# with some hints, I will appreciate it.

Cheers
[removed email]

推荐答案

为什么您在查看页面时不简单地打印"该页面?您可以安装pdf打印机,然后将要打印的每个页面打印到pdf文件.您还可以使用许多程序来获取页面内容.这些程序还允许您为需要它的站点指定用户名/密码.我记得Teleport Pro就是这样的程序.看看吧.

祝你好运!
Why don''t you simply "print" the page while viewing it? You can install a pdf printer and print every page you want to a pdf file. There are also a lot of programs you can use to get the page content. These programs also let you specify username/password for sites that need it. I remember teleport pro was such a program. Check it out.

Good luck!


你好,
是的,我有一个PDF打印机驱动程序(Win2PDF),但这不是一个实际的选择.
该杂志有100多页,按照这种方式,我需要手动进行分页,单击打印",然后选择另一个文件名,以避免下一个文件替换上一页.
同样,这意味着杂志将变成100个单独的文件,而不是一个100页的文件...

如果我能找到一个自动化工具来执行此操作,则意味着要记录鼠标的点击次数,并重复该操作直到杂志结束为止.但是仍然有两个问题:

1)该工具如何知道"它是最后一页
2)如何知道下一个要为其分配的文件名...

因此,任何其他想法将不胜感激

干杯
亚历克斯
Hello,
Yes, I have a PDF printer driver (Win2PDF) but this is not really a practical option.
The magazine has over 100 pages, to go that way would mean, I need to manually paginate through it, click "Print" then, select another file name so as to avoid the next file replacing the previous page.
Also, this means that the magazine will become 100 separate files, instead of one file with 100 pages...

If I could find an automation tool to do that, I mean to record my mouse clicks and repeat it until the end of the magazine... but there are still 2 questions:

1) How will the tool "know"it is the last page
2) How will it "know"what is the next file name to assign to it...

So, any other ideas will be appreciated

Cheers
Alex


这篇关于下载网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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