LabsCluster / PyFetch

This is a fetch tool for web content

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

This is a fetch tool for web content


Languages

Language:Python 100.0%