A Python-based web scraper that processes multiple queries from a text file and saves the results in JSONL format.
- Reads queries from queries.txt
- Scrapes web data for each query
- Stores results in results.jsonl(JSON Lines format)
- Easy to configure and extend
Install dependencies listed in requirments.txt:
pip install -r requirments.txt- Add your queries to queries.txt, one per line.
- Run the scraper:
python main.py- Results will be saved in results.jsonl.
- main.py— Main script for scraping
- queries.txt— List of queries to process
- requirments.txt— Python dependencies
- results.jsonl— Output file with scraped results
- Modify main.pyto change scraping logic or output format.
- Update queries.txtwith your own queries.
MIT License
MYounus-Codes