471,337 Members | 1,256 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Downloading from a clean url

General:
How do I download a page's data from a clean url.

Specific:
I'm using PyQt's QHttp and QUrl classes for requests and acquiring the
response, but I can't figure out how to access a page's data without
knowing the file of the url's path. For instance http://kde.org

Thanks,
-Dieter

Jun 21 '07 #1
3 1359
On 6/20/07, D.Hering <ve*******@gmail.comwrote:
General:
How do I download a page's data from a clean url.

Specific:
I'm using PyQt's QHttp and QUrl classes for requests and acquiring the
response, but I can't figure out how to access a page's data without
knowing the file of the url's path. For instance http://kde.org
If the page is omitted, as in your example of http://kde.org, the page is /
--
Evan Klitzke <ev**@yelp.com>
Jun 21 '07 #2

Evan Klitzke wrote:
On 6/20/07, D.Hering <ve*******@gmail.comwrote:
General:
How do I download a page's data from a clean url.

Specific:
I'm using PyQt's QHttp and QUrl classes for requests and acquiring the
response, but I can't figure out how to access a page's data without
knowing the file of the url's path. For instance http://kde.org

If the page is omitted, as in your example of http://kde.org, the page is /
Right, but so far I'm not able to get a response unless I actually
provide the actual page and it's extension in the path of the url. For
instance /page.html or /this/path/to/page.html ...etc.
>

--
Evan Klitzke <ev**@yelp.com>
Jun 21 '07 #3
On 6/21/07, D.Hering <ve*******@gmail.comwrote:
>
Evan Klitzke wrote:
On 6/20/07, D.Hering <ve*******@gmail.comwrote:
General:
How do I download a page's data from a clean url.
>
Specific:
I'm using PyQt's QHttp and QUrl classes for requests and acquiring the
response, but I can't figure out how to access a page's data without
knowing the file of the url's path. For instance http://kde.org
If the page is omitted, as in your example of http://kde.org, the page is /

Right, but so far I'm not able to get a response unless I actually
provide the actual page and it's extension in the path of the url. For
instance /page.html or /this/path/to/page.html ...etc.
If that's the case, it sounds like the web server on the other end is
misconfigured (or maybe you're getting a 302 or something like that).
Install LiveHTTP Headers and see how your browser navigates to the
page.

--
Evan Klitzke <ev**@yelp.com>
Jun 21 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Luke StClair | last post: by
1 post views Thread by Sean | last post: by
2 posts views Thread by Bala | last post: by
reply views Thread by just.starting | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.