Answers for "clone website online"

2

clone website

#This code will copy all contents of a website 
#First install 'pywebcopy' library from command prompt using 'pip install pywebcopy'

import pywebcopy
from pywebcopy import save_website

kwargs = {'project_name': 'talalsite'} # it will create a folder in desired folder with name 'talalsite'

save_website(
    url='https://www.abc.com/',
    project_folder='D:/Talal/game',
    **kwargs
)
Posted by: Guest on October-14-2021

Python Answers by Framework

Browse Popular Code Answers by Language