Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #60717

Re: Downloading/Saving to a Directory

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.kamp.net!newsfeed.kamp.net!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.095
X-Spam-Evidence '*H*': 0.81; '*S*': 0.00; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'python?': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; "i've": 0.25; 'script': 0.25; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'allows': 0.31; 'computer.': 0.33; 'fri,': 0.33; 'created': 0.35; 'tool': 0.35; 'received:google.com': 0.35; 'done,': 0.36; 'doing': 0.36; 'nov': 0.38; 'does': 0.39; 'how': 0.40; 'save': 0.62; 'webpage': 0.68; 'to:none': 0.92; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=9FrH5W9ClasQnD/MwbH539NJiLQmtG61xMXRoapSAT4=; b=cLAAKjBLhrszhWmFXvatB0/w1QQOEGH+bd31Brk4LULZjdwbyLmNMxCZ1/0t8sfpQE jYGP9/gih4JIbnttXAeWwyWpYKqY4jl9xgkUz7x8yu9KGkkCGfzi0aJUs2gBnqBFkP7C AMZetKN4VjFq2DvUBPPAoB7tW6T4Oocod3i/tC/iVwruAZTsJ3U/15PzUDPPTLYinIxT +58p6z7uIhlrBG5686stR4W+0exQSr6n7HlFLGrYKu2DwCAqGSH9F60XXuqd3XlTLS9s a5ciHkGYJq6ucPgKH0GShcXaVZX8EL4lhLEHc2s6AZAsx2Itk0KO5Cciw23lTb5ccJ4V D6Ug==
MIME-Version 1.0
X-Received by 10.68.242.163 with SMTP id wr3mr11618253pbc.84.1385659945179; Thu, 28 Nov 2013 09:32:25 -0800 (PST)
In-Reply-To <CAMp65DUGgXEieUbrot-nK-RPk0SVFmdUnXUM55ufi2E=MzDeng@mail.gmail.com>
References <CAMp65DUGgXEieUbrot-nK-RPk0SVFmdUnXUM55ufi2E=MzDeng@mail.gmail.com>
Date Fri, 29 Nov 2013 04:32:25 +1100
Subject Re: Downloading/Saving to a Directory
From Chris Angelico <rosuav@gmail.com>
Cc python-list@python.org
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3371.1385659948.18130.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1385659948 news.xs4all.nl 15904 [2001:888:2000:d::a6]:50494
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:60717

Show key headers only | View raw


On Fri, Nov 29, 2013 at 2:19 AM, TheRandomPast .
<wishingforsam@gmail.com> wrote:
> I've created a script that allows me to see how many images are on a webpage
> and their URL however now I want to download all .jpg images from this
> website and save them onto my computer.

Are you doing this because you want those .jpg files, or because you
want to learn Python? If you just want to get the job done, look at a
tool like wget, which already does everything you want. :)

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Downloading/Saving to a Directory Chris Angelico <rosuav@gmail.com> - 2013-11-29 04:32 +1100

csiph-web