Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.017 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'needed,': 0.05; '-0500': 0.07; 'obsolete': 0.07; 'python': 0.09; 'command.': 0.09; 'archive': 0.11; 'files.': 0.13; '"to': 0.16; 'browsers.': 0.16; 'reinstalled': 0.16; 'scratch': 0.16; 'sources,': 0.16; 'why,': 0.16; 'wrote:': 0.17; 'thu,': 0.17; '>>>': 0.18; 'code,': 0.18; 'feb': 0.19; 'finally,': 0.22; 'programming': 0.23; 'specifically': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'creating': 0.26; 'am,': 0.27; 'question': 0.27; 'actual': 0.28; 'behind.': 0.29; 'feeds': 0.29; 'implied': 0.29; 'really,': 0.29; 'usually': 0.30; 'stuff': 0.30; 'could': 0.32; 'to:addr:python-list': 0.33; 'weeks': 0.33; 'program,': 0.34; 'server': 0.35; 'data,': 0.35; 'mine': 0.35; 'pm,': 0.35; 'something': 0.35; 'but': 0.36; 'two': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'nothing': 0.38; 'there,': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'your': 0.60; 'kind': 0.61; 'email addr:gmail.com': 0.63; 'experience.': 0.65; 'ago.': 0.66; 'websites': 0.66; 'internet': 0.71; 'received:74.208': 0.71; '2013': 0.84; 'presumably': 0.84; 'relate': 0.91; 'angel': 0.93; 'seo': 0.98 Date: Thu, 21 Feb 2013 13:04:37 -0500 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Urllib's urlopen and urlretrieve References: <34998ea2-6b19-4a98-8ea0-389aca0192ca@googlegroups.com> <5126439F.8090508@davea.name> <20130221094713.d21dff3ce0cd59e50f62f6f3@lavabit.com> In-Reply-To: <20130221094713.d21dff3ce0cd59e50f62f6f3@lavabit.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:LSkazZvmnr6DKbDO2lxgV+QbITAqSnXmidD21XUKEvB uGiHGVjwy9PRVbVUd/wIVymbgU1/hQaDoaNhuIqsnECO21es/z sJ0ZeZ3bq5bL8SHRW+M7Av6BKcHH6PeqpryN/GS11xwF67RVTr 2rXu2bQ8uy9x9isYAsQuks+T0X5OeDqCQrk/vOKNZl1BAbEVGQ mR/lmRaU9FCe/wmBlAqpHoc0mB3o7FZDZr236lpRRSwb1dRSVk oEsG31c3Hv3ibsnkF9s+IxVFACyl358HFT+EOpTAnkdFV3Rjyb rLfVciV85ONuv+jrhimREVqBRpPs97NTmfl5tgTXKYQmY9S6A= = X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361469890 news.xs4all.nl 6955 [2001:888:2000:d::a6]:39116 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39448 On 02/21/2013 12:47 PM, rh wrote: > On Thu, 21 Feb 2013 10:56:15 -0500 > Dave Angel wrote: >> On 02/21/2013 07:12 AM, qoresucks@gmail.com wrote: >>> I only just started Python and given that I know nothing about >>> network programming or internet programming of any kind really, I >>> thought it would be interesting to try write something that could >>> create an archive of a website for myself. >> > > >> To archive your website, use the rsync command. No need to write any >> code, as rsync will descend into all the directories as needed, and >> it'll get the actual website data, not the stuff that the web server >> feeds to the browsers. > > How many websites let you suck down their content using rsync??? > The request was for creating their own copy of a website. > Clearly this was his own website, since it's usually unethical to "suck down" someone else's. And my message specifically said "To archive *your* website..." As to the implied question of why, since he presumably has the original sources, I can only relate my own experience. I generate mine by a python program, but over time obsolete files are left behind. Additionally, an overzealous SEO person hand-edited my files. And finally, I reinstalled my system from scratch a couple of months ago. So in order to see exactly what's out there, I used rsync, about two weeks ago. -- DaveA