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

Date 2013-08-30 15:09 +0200
From Bastien Amiel <b.amiel@evs.com>
Subject Re: python script to gather file links into textfile
References <3cd251f2-f37b-4aa6-a385-26163fa5d62b@googlegroups.com> <b8bje0Ffn52U1@mid.individual.net>
Newsgroups comp.lang.python
Message-ID <mailman.387.1377869046.19984.python-list@python.org> (permalink)

Show all headers | 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