You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 22, 2018. It is now read-only.
Hi.
I try to crawl the page (http://en.zkteco.com) with your cloner, but I can't prevent this error:
Traceback (most recent call last):
File "website_cloner.py", line 143, in
crawl(site_name + "/")
File "website_cloner.py", line 132, in crawl
save_assets(r.text)
File "website_cloner.py", line 93, in save_assets
with open(project_path + file_name.split("/?")[0], "wb") as f:
IsADirectoryError: [Errno 21] Is a directory: '../mySite'
I use Python 3.5 on Ubuntu 16.04 Desktop.
I made virtualenv and all requirements were installed without any issues.
I have found that this error happened because of this Google redirect content
(//googleads.g.doubleclick.net/pagead/viewthroughconversion/953570153/?value=0&guid=ON&script=0).
With handling of Exception it works, but I still cannot open cloned website localy.
Could you try it yourself and help me please?
Hi.
I try to crawl the page (http://en.zkteco.com) with your cloner, but I can't prevent this error:
Traceback (most recent call last):
File "website_cloner.py", line 143, in
crawl(site_name + "/")
File "website_cloner.py", line 132, in crawl
save_assets(r.text)
File "website_cloner.py", line 93, in save_assets
with open(project_path + file_name.split("/?")[0], "wb") as f:
IsADirectoryError: [Errno 21] Is a directory: '../mySite'
I use Python 3.5 on Ubuntu 16.04 Desktop.
I made virtualenv and all requirements were installed without any issues.
I have found that this error happened because of this Google redirect content
(//googleads.g.doubleclick.net/pagead/viewthroughconversion/953570153/?value=0&guid=ON&script=0).
With handling of Exception it works, but I still cannot open cloned website localy.
Could you try it yourself and help me please?