diff --git a/README.md b/README.md index 6aaee99..6acd6ef 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,9 @@ person = Person("https://www.linkedin.com/in/andre-iguodala-65b48ab5", driver = When this is **True**, the scraping happens automatically. To scrape afterwards, that can be run by the `scrape()` function from the `Person` object. ## Versions +**1.2.x** +* Allows scraping later + **1.1.x** * Addes additional API where user can use their own webdriver diff --git a/README.rst b/README.rst index ba614a7..2fec55e 100644 --- a/README.rst +++ b/README.rst @@ -79,6 +79,8 @@ afterwards, that can be run by the ``scrape()`` function from the Versions -------- +**1.2.x** \* Allows scraping later + **1.1.x** \* Addes additional API where user can use their own webdriver **1.0.x** \* first publish and fixes diff --git a/linkedin_user_scraper/scraper.py b/linkedin_user_scraper/scraper.py index 10d2913..bb27fe9 100644 --- a/linkedin_user_scraper/scraper.py +++ b/linkedin_user_scraper/scraper.py @@ -31,7 +31,7 @@ def __init__(self, linkedin_url = None, experiences = [], educations = [], drive except: driver = webdriver.Chrome() - driver.get("http://linkedin.com") + driver.get(linkedin_url) self.driver = driver if scrape: diff --git a/setup.py b/setup.py index a7e3286..f05a3bf 100644 --- a/setup.py +++ b/setup.py @@ -12,12 +12,12 @@ setup( name = 'linkedin_user_scraper', packages = ['linkedin_user_scraper'], # this must be the same as the name above - version = '1.1.0', + version = '1.2.0', description = 'Scrapes user data from Linkedin', author = 'Joey Sham', author_email = 'sham.joey@gmail.com', url = 'https://github.com/joeyism/linkedin_user_scraper', # use the URL to the github repo - download_url = 'https://github.com/joeyism/linkedin_user_scraper/dist/1.1.0.tar.gz', + download_url = 'https://github.com/joeyism/linkedin_user_scraper/dist/1.2.0.tar.gz', keywords = ['linkedin', 'scraping', 'scraper'], classifiers = [], install_requires=['lxml', 'request', 'selenium'],