habari

所属分类:数据采集/爬虫
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2022-12-08 06:20:55
上 传 者sh-1993
说明:  一个新闻刮板,从东非的各种新闻网站上抓取新闻文章,并通过API和网页进行访问。,
(A news scraper that scrapes for news articles from various news sites in East Africa and avails them via an API and web page.,)

文件列表:
habari/ (0, 2022-09-13)
habari/__init__.py (120, 2022-09-13)
habari/apps/ (0, 2022-09-13)
habari/apps/__init__.py (0, 2022-09-13)
habari/apps/accounts/ (0, 2022-09-13)
habari/apps/accounts/__init__.py (0, 2022-09-13)
habari/apps/accounts/admin.py (63, 2022-09-13)
habari/apps/accounts/apps.py (91, 2022-09-13)
habari/apps/accounts/migrations/ (0, 2022-09-13)
habari/apps/accounts/migrations/__init__.py (0, 2022-09-13)
habari/apps/accounts/models.py (57, 2022-09-13)
habari/apps/accounts/tests.py (60, 2022-09-13)
habari/apps/accounts/views.py (63, 2022-09-13)
habari/apps/api/ (0, 2022-09-13)
habari/apps/api/__init__.py (0, 2022-09-13)
habari/apps/api/admin.py (128, 2022-09-13)
habari/apps/api/apps.py (146, 2022-09-13)
habari/apps/api/filters.py (370, 2022-09-13)
habari/apps/api/migrations/ (0, 2022-09-13)
habari/apps/api/migrations/__init__.py (0, 2022-09-13)
habari/apps/api/serializers.py (588, 2022-09-13)
habari/apps/api/tests.py (125, 2022-09-13)
habari/apps/api/urls.py (140, 2022-09-13)
habari/apps/api/views.py (684, 2022-09-13)
habari/apps/core/ (0, 2022-09-13)
habari/apps/core/__init__.py (0, 2022-09-13)
habari/apps/core/admin.py (113, 2022-09-13)
habari/apps/core/apps.py (83, 2022-09-13)
habari/apps/core/context_processors.py (180, 2022-09-13)
habari/apps/core/forms.py (1666, 2022-09-13)
habari/apps/core/migrations/ (0, 2022-09-13)
habari/apps/core/migrations/0001_initial.py (2473, 2022-09-13)
habari/apps/core/migrations/__init__.py (0, 2022-09-13)
habari/apps/core/models.py (2040, 2022-09-13)
habari/apps/core/templates/ (0, 2022-09-13)
habari/apps/core/templates/auth/ (0, 2022-09-13)
habari/apps/core/templates/auth/login.html (931, 2022-09-13)
habari/apps/core/templates/auth/register.html (978, 2022-09-13)
... ...

# Habari News Scraper ## By Peter Polle ## Description This is a news scraping service service that is availble via a web interface and a an API. It allows users to view access the following : * Acces the latest news articles via the api * Filter news articles using titles and source * View the lates news articles in the web interface * API token authentication ### Prerequisites The following are needed for the application to run on a local computer: * python version 3.6 * Django framework * Django Rest Framework v3.11 * Bootstrap v.3 * Text editor (atom, VS code or sublime text) * Celery & RabbitMQ * Web browser A crucial point to note: You will need Python version 3 and above installed on your laptop. If you don't have it installed got to [Python.org](https://www.python.org/downloads/) to install. ## Getting Started * Clone this repository to your local computer and install all the extensions listed in the ``requirements/common.txt`` file. * Ensure you have python3.6 installed in your computer. * From the terminal navigate to the cloned project folder. * Switch to the virtual environment by entering ```source virtual/bin/activate``` from the terminal. * Once inside the application, a user will be able to use the application. ## Running the tests To run the tests, run ``python manage.py test`` ## Deployment To run local server run ``python manage.py runserver`` ## License This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

近期下载者

相关文件


收藏者