https://github.com/innovatorved/webscraping-extract-sanfoundry-mcq
Web Scrapping Project extract MCQ of any topic from sanfoundry.com in PDF form
https://github.com/innovatorved/webscraping-extract-sanfoundry-mcq
beautifulsoup4 bs4 extract-sanfoundry-mcq python sanfoundry sanfoundry-mcq-saver webscraping
Last synced: 7 months ago
JSON representation
Web Scrapping Project extract MCQ of any topic from sanfoundry.com in PDF form
- Host: GitHub
- URL: https://github.com/innovatorved/webscraping-extract-sanfoundry-mcq
- Owner: innovatorved
- License: mit
- Created: 2021-07-10T20:05:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-15T08:39:50.000Z (about 4 years ago)
- Last Synced: 2025-02-28T08:29:28.306Z (8 months ago)
- Topics: beautifulsoup4, bs4, extract-sanfoundry-mcq, python, sanfoundry, sanfoundry-mcq-saver, webscraping
- Language: Python
- Homepage:
- Size: 158 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebScraping project-extract-sanfoundry-mcq
Web Scrapping Project extract MCQ of any topic from sanfoundry.com in pdf form
## Run Locally
Create Directory
```bash
mkdir ProjectWebScrapper
cd ProjectWebScrapper
```Clone the project
```bash
git clone https://github.com/innovatorved/WebScraping-extract-sanfoundry-mcq.git .
```Import Class and use
```bash
cd ProjectWebScrapper
```Install dependencies
```bash
pip install -r requirements.txt
```Import Class And Use
```python
# Import Class
from sanfoundryClass import copyit# Change the link
url = "https://www.sanfoundry.com/operating-system-questions-answers-basics/"
data = copyit(url)print(data.copyright())
# print(len(data.extract_list()))
# print(len(data.extract_dict()))
# print(data.extract_str()[:100])# PDF save as title Name
data.extract_pdf()
```
## Acknowledgements- [Start with Python](https://github.com/innovatorved/BasicPython)
- [Python recall for Developers](https://github.com/innovatorved/python-recall)
- [Comptetive Programing with C++](https://github.com/innovatorved/Comptetive-Programing-cpp)
## Authors- [@Ved Gupta](https://github.com/innovatorved)
## FeedbackIf you have any feedback, please reach out to us at vedgupta@protonmail.com