Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 622 Bytes

README.md

File metadata and controls

27 lines (25 loc) · 622 Bytes

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')