473,394 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 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 1444
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Luke StClair | last post by:
Only marginally belonging in this newsgroup... but oh well. I've just started writing in python, and I want to make the files available on the web. So I did the standard <a...
2
by: Dave | last post by:
Dear Sirs, Is there a way to get the width and height of an image without downloading the image, or with just downloading a minimal portion of the image? For instance, I have a list of 10,000...
3
by: Brian Kitt | last post by:
I have an animated .gif on my website. It is about 36k. I want this on every page in my site, but it appears that it downloads every time a user loads a page. This will kill dial up users. ...
1
by: Sean | last post by:
Hi all, I am creating a web application to convert files to a different format. The interface is simple in that there's a filename control and a submit buttom. The functionality I'm looking...
0
by: TJ | last post by:
Hi, I've written code web-based uploading and downloading. Here is some code for it. For saving file into MS-SQL database, SaveFileIntoDB(HttpPostedFile file) { int fileLength =...
2
by: Bala | last post by:
Hi I am trying to download the PDF files from my webserver using ASP.Net. All my files are stored at F Drive on webserver. Like this F:\Main Folder\Sub Folder\Files\File1.pdf I am...
1
by: just.starting | last post by:
Hi, My dot net client downloads files and checks for any new files time to time. The server is apache2.0.53 server. So what happens is that my file download thing works fine if I dont try to call...
0
by: just.starting | last post by:
I am having problem while downloading files from an apache server2.0.53 with php4.3.10.While downloading some files it generally stops after downloading some specific amount and then stops...
12
by: Queez | last post by:
I have a .NET assembly (ScanControl.dll), which accesses a scanner on my client's local machine and allows them to scan a page (Scan()). I have an ASP.NET web application with a page which will...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.