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


Groups > comp.lang.python > #53293

Re: python script to gather file links into textfile

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 <prvs=09543685dc=b.amiel@evs.com>
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 <b.amiel@evs.com>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version 1.0
To <python-list@python.org>
Subject Re: python script to gather file links into textfile
References <3cd251f2-f37b-4aa6-a385-26163fa5d62b@googlegroups.com> <b8bje0Ffn52U1@mid.individual.net>
In-Reply-To <b8bje0Ffn52U1@mid.individual.net>
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 <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.387.1377869046.19984.python-list@python.org> (permalink)
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

Show key headers only | View raw


Le 30/08/2013 15:01, Neil Cerutti a écrit :
> On 2013-08-30, david.dsch@gmail.com <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

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


Thread

python script to gather file links into textfile david.dsch@gmail.com - 2013-08-30 03:53 -0700
  Re: python script to gather file links into textfile Neil Cerutti <neilc@norwich.edu> - 2013-08-30 13:01 +0000
    Re: python script to gather file links into textfile Bastien Amiel <b.amiel@evs.com> - 2013-08-30 15:09 +0200
    Re: python script to gather file links into textfile Joel Goldstick <joel.goldstick@gmail.com> - 2013-08-30 10:56 -0400
    Re: python script to gather file links into textfile Joel Goldstick <joel.goldstick@gmail.com> - 2013-08-30 12:13 -0400
  Re: python script to gather file links into textfile Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-31 00:34 +0000

csiph-web