[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] newbie help
From: |
Darshit Shah |
Subject: |
Re: [Bug-wget] newbie help |
Date: |
Sun, 6 May 2018 11:36:11 +0200 |
User-agent: |
NeoMutt/20180323 |
Hi Sameeran,
What exactly is your goal?
The libwget/ directory contains all the code for libwget, the HTTP library that
powers wget2.
The examples/ directory contains a bunch of small toy programs which show how
one can use libwget.
Sadly, there is no single source file you can read which contains the entire
process of accepting a URL, parsing it and downloading the said web page. If
you are interested in the logic of downloading a web page, you should look at:
`libwget/http_highlevel.c`. This file contains the very high level API for
downloading a webpage. From there, you can go deeper into the specific details
of constructing HTTP requests and parsing the responses.
* Sameeran Joshi <address@hidden> [180504 05:38]:
> *hi,i have followed all the instructions of downloading and installing
> wget2,i am a newbie to any of the open source projects,so i just went
> through the examples/ directory and the libwget directory but I am afraid
> which .c file should i start with.*
>
> *how should I read and understand the .c file,i am quite comfortable with
> the c language programming,also which is the .c file which contains the
> very basic code of just accepting URL and parsing it and downloading the
> supplied webpage.I am interested in seeing the logic of the same.*
> *thanks*
--
Thanking You,
Darshit Shah
PGP Fingerprint: 7845 120B 07CB D8D6 ECE5 FF2B 2A17 43ED A91A 35B6
signature.asc
Description: PGP signature