Closed athesh-pargau7 closed 2 years ago
It shouldn't be happening. Try
bypass_robots="True"
It again shows error @rajatomar788 bypass_robots="True" TypeError: unsupported operand type(s) for ** or pow(): 'str' and 'dict'
instead of bool,it shows string!
Paste the entire code you are running. Along with the log if ok.
def website_cloner(): #website cloning part
website_url=input("Enter the website URL: ")
name=input("Enter the folder name: ")
path=input("Enter the path to save the files: ")
kwargs = {'project_name': name}
save_webpage(
# url pf the website
url=website_url,
# folder where the copy will be saved
project_folder=path,
bypass_robots="True"
#
**kwargs
)
website_cloner()
Please update this issue to include more details in the description. Otherwise, someone looking for a different error has to peek into this error to find out it's not related.
Bypass_robots takes a bool as its value from now on.
bypass_robots=True
In bypass robots statements it shows me error @rajatomar788 since i assigned true!! bypass_robots=True TypeError: unsupported operand type(s) for ** or pow(): 'bool' and 'dict'