https://github.com/coskundeniz/eksisozluk
A command line reader for https://eksisozluk.com/
https://github.com/coskundeniz/eksisozluk
beautifulsoup4 docker eksisozluk mongodb python selenium web-scraping
Last synced: 10 days ago
JSON representation
A command line reader for https://eksisozluk.com/
- Host: GitHub
- URL: https://github.com/coskundeniz/eksisozluk
- Owner: coskundeniz
- License: gpl-3.0
- Created: 2016-05-10T14:59:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-11-29T00:12:35.000Z (over 1 year ago)
- Last Synced: 2025-04-14T05:57:07.527Z (10 days ago)
- Topics: beautifulsoup4, docker, eksisozluk, mongodb, python, selenium, web-scraping
- Language: Python
- Homepage:
- Size: 3.02 MB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
eksisozluk
==========A command line reader for https://eksisozluk.com/
### Supported Functionalities
* Read entries from titles of default channel(gundem)
* Read entries from titles of other channels
* Read entries of an author
* Save selected titles as favourite
* Get today's entries from favourite titles
* Save selected entries as favourite
* Show entries saved as favourite
* Change console output theme---
## How to setup
If you will use MongoDB to save titles/entries, install it from [here](https://docs.mongodb.com/manual/administration/install-community/).
Otherwise SQLite database will be used.You can check the running status after installation and start the database server with the following commands on Linux.
* `sudo service mongod status`
* `sudo service mongod start`Run one of the followings to install required packages
* `pipenv install && pipenv shell`
* `pip install -r requirements.txt`### How to create Docker image manually
Install docker from [here](https://docs.docker.com/get-docker/) and run the following commands in the project directory.
* `docker build -t eksisozluk .`
* `docker volume create eksisozluk_db`---
## How to use
```
usage: python eksisozluk.py [-h] [-ch] [-ae] [-ft] [-lfte] [-fe] [-lfe] [-th THEME]optional arguments:
-h, --help show this help message and exit
-ch, --channels Get titles from other channels
-ae, --author_entries Get author entries
-ft, --favtitle Add selected titles to favourites
-lfte, --listfavtitleentry Get today's entries from favourite titles
-fe, --faventry Add selected entries to favourites
-lfe, --listfaventry Show entries saved as favourite
-th THEME, --theme THEME Change theme
```### How to run Docker image
If you created the image manually according to above commands, run the following command.
* `docker run --rm -it -v eksisozluk_db:/src eksisozluk`
You can add options as normal.
* `docker run --rm -it -v eksisozluk_db:/src eksisozluk -ch -fe`
If you want to use prebuilt image from DockerHub, you can use the following commands.
* `docker pull codenineeight/eksisozluk`
* `docker run --rm -it -v eksisozluk_db:/src codenineeight/eksisozluk`
---
## Screenshots
**Listing channels**

**Getting author entries**

**Show entries from a title**

**Save entry to favourites**

**Show favourite entries**

**Save titles to favourites**

**Save duplicate title**

**Get entries from favourite titles**

**Load more dialog for titles**

**Secondary theme with green variants**



**Invalid input errors**

