diff --git a/Code/chromedriver b/Code/chromedriver new file mode 100644 index 0000000..83e3f6d Binary files /dev/null and b/Code/chromedriver differ diff --git a/Code/chromedriver.exe b/Code/chromedriver.exe new file mode 100644 index 0000000..370e9eb Binary files /dev/null and b/Code/chromedriver.exe differ diff --git a/Code/input.txt b/Code/input.txt index e69de29..d282e13 100644 --- a/Code/input.txt +++ b/Code/input.txt @@ -0,0 +1 @@ +https://www.facebook.com/hamzatrq \ No newline at end of file diff --git a/Code/scraper.py b/Code/scraper.py index aa7fd5a..b5ce136 100644 --- a/Code/scraper.py +++ b/Code/scraper.py @@ -615,8 +615,9 @@ def login(email, password): # clicking on login button driver.find_element_by_id('loginbutton').click() - except: + except Exception as e: print("There's some error in log in.") + print(sys.exc_info()[0]) exit() diff --git a/images/main.png b/images/main.png new file mode 100644 index 0000000..412cfa6 Binary files /dev/null and b/images/main.png differ diff --git a/images/screenshot.png b/images/screenshot.png new file mode 100644 index 0000000..54bf799 Binary files /dev/null and b/images/screenshot.png differ