This Python script, scrape.py, allows you to scrape questions from a LinkedIn Assessment page and generate a file.txt file to view the questions clearly and then copy them to chat GPT to provide answers.
To use this script, you will need the following dependencies installed:
- Python (tested on version 3.7.0)
- beautifulsoup4 (can be installed using pip install beautifulsoup4)
To get started with this project, follow the steps below:
-
Clone this repository to your local machine.
-
Install the required packages using pip install -r requirements.txt.
-
Copy the code of the LinkedIn Assessment page you want to scrape by going to the page, right-clicking and selecting "View Page Source". Alternatively, you can use the Developer Tools in your browser to view the source code.
-
Save the source code as index.html in the same directory as scrape.py.
-
Run the script using python scrape.py.
-
The scraped questions will be saved in file.txt in the same directory.
If you would like to contribute to this project, please follow the steps below:
-
Fork this repository.
-
Create a new branch (git checkout -b feature/my-new-feature).
-
Make your changes and commit them (git commit -am 'Add some feature').
-
Push to the branch (git push origin feature/my-new-feature).
-
Create a new Pull Request.