Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed3.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.040 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'subject:file': 0.07; 'subject:into': 0.09; 'subject:script': 0.09; 'mirror.': 0.16; '\xe9crit': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'header :User-Agent:1': 0.23; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'michael': 0.29; 'file': 0.32; 'hi,': 0.36; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'read': 0.60; 'email addr:gmail.com': 0.63; 'jackson': 0.84; 'received:tv': 0.84 Date: Fri, 30 Aug 2013 15:09:16 +0200 From: Bastien Amiel User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Subject: Re: python script to gather file links into textfile References: <3cd251f2-f37b-4aa6-a385-26163fa5d62b@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-TM-AS-Product-Ver: SMEX-10.2.0.1135-7.000.1014-20114.007 X-TM-AS-Result: No--1.328100-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1377869046 news.xs4all.nl 15893 [2001:888:2000:d::a6]:44342 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:53293 Le 30/08/2013 15:01, Neil Cerutti a écrit : > On 2013-08-30, david.dsch@gmail.com wrote: >> Hi, im looking for someone who can make a script that gathers >> all file links from an url into a textfile, like this : >> http://pastebin.com/jfD31r1x 1. Read the file with urls http://stackoverflow.com/questions/3925614/how-do-you-read-a-file-into-a-list-in-python 2. Download each url http://stackoverflow.com/questions/22676/how-do-i-download-a-file-over-http-using-python > Michael Jackson advises you to start with the man in the mirror. :D