From 44befad2e25260aac0d150634010287f49225708 Mon Sep 17 00:00:00 2001 From: Baraa Hamodi Date: Mon, 2 Jan 2017 18:26:53 -0500 Subject: [PATCH] [v2.0.1] Minor Updates. --- setup.py | 6 +++--- src/main.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index 6b536be..7ed4a7c 100644 --- a/setup.py +++ b/setup.py @@ -2,12 +2,12 @@ setup( name='facebook-online-friend-tracker', - version='2.0.0', + version='2.0.1', description='This tool tracks the number of online friends a user has on Facebook at any given time.', long_description=open('README.rst').read(), url='https://github.com/bhamodi/facebook-online-friend-tracker', author='Baraa Hamodi', - author_email='bhamodi@uwaterloo.ca', + author_email='bhamodi@edu.uwaterloo.ca', license='MIT', classifiers=[ 'Development Status :: 4 - Beta', @@ -26,7 +26,7 @@ packages=find_packages(), install_requires=[ 'chromedriver_installer>=0.0.4', - 'selenium>=2.49.1', + 'selenium>=3.0.2', ], entry_points={ 'console_scripts': [ diff --git a/src/main.py b/src/main.py index 0aa57ec..39e671d 100644 --- a/src/main.py +++ b/src/main.py @@ -69,7 +69,7 @@ def main(): # Change default timeout and window size. driver.implicitly_wait(120) - driver.set_window_size(700, 700) + driver.set_window_size(700, 500) # Go to www.facebook.com and log in using the provided credentials. print('Logging into Facebook...') @@ -107,4 +107,4 @@ def main(): iteration += 1 # Close Chrome WebDriver. - driver.close() + driver.quit()