/PyFetch

This is a fetch tool for web content

Primary LanguagePython

PyFetch

This is a fetch tool for web content

Requirement

This tool require wget tools

Very easy using

1.First, you should download pyfetch.py to your dir.

2.Import PyFetch in your app:

from pyfetch import * 

3.Using built-in functions!

fetch('http://google.com','index.html')

Advanced functions

Need Auth

Using fetchA() instead of fetch():

fetchA('http://google.com','index.html','username','password')

Need customized User-Agent

Using fetchU() instead of fetch():

fetchA('http://google.com','index.html','Chrome 40')