Re: Web Scraping

2016-11-12 Thread Gonzalo V
Explore url module and you need urlretrieve() saludos, desde un móvil. El nov 12, 2016 12:23 p.m., "Veek M" escribió: > Steve D'Aprano wrote: > > > On Sat, 12 Nov 2016 11:07 pm, Veek M wrote: > > > >> 121sukha wrote: > >> > >>> I am new to python and I want to use web scraping to download songs

Re: Web Scraping

2016-11-12 Thread Veek M
Steve D'Aprano wrote: > On Sat, 12 Nov 2016 11:07 pm, Veek M wrote: > >> 121sukha wrote: >> >>> I am new to python and I want to use web scraping to download songs >>> from website. how do I write code to check if the website has >>> uploaded a new song and have that song automatically be downlo

Re: Web Scraping

2016-11-12 Thread Steve D'Aprano
On Sat, 12 Nov 2016 11:07 pm, Veek M wrote: > 121sukha wrote: > >> I am new to python and I want to use web scraping to download songs >> from website. how do I write code to check if the website has uploaded >> a new song and have that song automatically be downloaded onto my >> computer. I know

Re: Web Scraping

2016-11-12 Thread Veek M
121sukha wrote: > I am new to python and I want to use web scraping to download songs > from website. how do I write code to check if the website has uploaded > a new song and have that song automatically be downloaded onto my > computer. I know how to use the requests.get() module but i am more >

Re: Web Scraping

2016-03-25 Thread alister
On Thu, 24 Mar 2016 18:17:43 -0700, 121sukha wrote: > I am new to python and I want to use web scraping to download songs from > website. > how do I write code to check if the website has uploaded a new song and > have that song automatically be downloaded onto my computer. I know how > to use the

RE: web scraping help / better way to do it ?

2016-01-19 Thread Matt
> -Original Message- > From: Python-list [mailto:python-list- > bounces+matt=centralkaos@python.org] On Behalf Of Peter Otten > Sent: Tuesday, 19 January 2016 9:30 PM > To: python-list@python.org > Subject: Re: web scraping help / better way to do it

Re: web scraping help / better way to do it ?

2016-01-19 Thread Peter Otten
Matt wrote: > Beginner python user (3.5) and trying to scrape this page and get the > ladder > - www.afl.com.au/ladder . Its dynamic content so I used lynx -dump to > get > a txt file and parsing that. > > Here is the code > > # import lynx -dump txt file > f = open('c:/temp/afl2.txt','r').r

Re: web scraping

2013-10-13 Thread John Nagle
On 10/12/2013 1:35 PM, dvgh...@gmail.com wrote: > On Saturday, October 12, 2013 7:12:38 AM UTC-7, Ronald Routt wrote: >> I am new to programming and trying to figure out python. >> >> >> >> I am trying to learn which tools and tutorials I need to use along >> with some good beginner tutorials in

Re: web scraping

2013-10-12 Thread dvghana
On Saturday, October 12, 2013 7:12:38 AM UTC-7, Ronald Routt wrote: > I am new to programming and trying to figure out python. > > > > I am trying to learn which tools and tutorials I need to use along with some > good beginner tutorials in scraping the the web. The end result I am trying >

Re: web scraping

2013-10-12 Thread Mark Lawrence
On 12/10/2013 15:12, Ronald Routt wrote: I am new to programming and trying to figure out python. I am trying to learn which tools and tutorials I need to use along with some good beginner tutorials in scraping the the web. The end result I am trying to come up with is scraping auto d

RE: Web Scraping - Output File

2012-04-26 Thread Prasad, Ramit
> > I am having some difficulty generating the output I want from web > > scraping. Specifically, the script I wrote, while it runs without any > > errors, is not writing to the output file correctly. It runs, and > > creates the output .txt file; however, the file is blank (ideally it > > should b

Re: Web Scraping - Output File

2012-04-26 Thread SMac2347
On Apr 26, 2:19 pm, Kiuhnm wrote: > On 4/26/2012 19:54, smac2...@comcast.net wrote: > > > > > > > > > > > Hello, > > > I am having some difficulty generating the output I want from web > > scraping. Specifically, the script I wrote, while it runs without any > > errors, is not writing to the outpu

Re: Web Scraping - Output File

2012-04-26 Thread Jon Clements
comcast.net> writes: > > Hello, > > I am having some difficulty generating the output I want from web > scraping. Specifically, the script I wrote, while it runs without any > errors, is not writing to the output file correctly. It runs, and > creates the output .txt file; however, the file is

Re: Web Scraping - Output File

2012-04-26 Thread Kiuhnm
On 4/26/2012 19:54, smac2...@comcast.net wrote: > Hello, > > I am having some difficulty generating the output I want from web > scraping. Specifically, the script I wrote, while it runs without any > errors, is not writing to the output file correctly. It runs, and > creates the output .txt file;

Re: Web Scraping - Output File

2012-04-26 Thread MRAB
On 26/04/2012 18:54, smac2...@comcast.net wrote: Hello, I am having some difficulty generating the output I want from web scraping. Specifically, the script I wrote, while it runs without any errors, is not writing to the output file correctly. It runs, and creates the output .txt file; however,