### Installation Source: https://github.com/demirogun/tr-news-scraper/blob/main/README.md Install the tr-news-scraper library using pip. ```bash pip install tr-news-scraper ``` -------------------------------- ### Usage Source: https://github.com/demirogun/tr-news-scraper/blob/main/README.md Scrape news articles based on a single or multiple keywords. The scrape() method returns a pandas dataframe. ```python from tr_news_scraper import tr_news_scraper as tns scraper = tns.NewsScraper() # You can define page_limit parameter here. Default value is 20. single_keyword_news = scraper.scrape(["keyword"]) # You can define keyword or keywords here. multiple_keywords_news = scraper.scrape(["keyword_1", "keyword_2", "keyword_3"]) # You can define keyword or keywords here. ``` -------------------------------- ### BibTeX Citation Source: https://github.com/demirogun/tr-news-scraper/blob/main/README.md BibTeX citation for the tr-news-scraper library. ```bibtex @software{tr-news-scraper, author = {Ogün Demir and Aydoğan Avcı}, title = {{tr-news-scrape}}, version = {0.1.0}, url = {https://github.com/demirogun/tr-news-scraper}, year = {2024} } ``` -------------------------------- ### APA Citation Source: https://github.com/demirogun/tr-news-scraper/blob/main/README.md APA citation for the tr-news-scraper library. ```text Demir, O., & Avcıoğlu, A. (2024). tr-news-scraper: Turkish news articles scraper based on specified keywords (Version 0.1.0) [Software]. https://github.com/demirogun/tr-news-scraper ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.