Web scraper base Pythonic API for Ekşi Sözlük
Project description
Limoon (limon-moon
, limon is lemon but Turkish), web scraper base Pythonic API for Ekşi Sözlük. This module can get topics, entries and authors. It also has debe
and gündem
page support. Contributions are most welcome!
Installing
pip install -U limoon
Examples
import limoon
topic = limoon.get_topic("richard stallman")
# Topic(43270)
list(topic.entrys)
# [Entry(1091215), Entry(1091227), Entry(2137487), ...]
dir(topic)
# [..., 'entrys', 'id', 'page_count', 'path', 'title', 'url']
entry = limoon.get_entry(2878417)
# Entry(2878417)
entry.content
# "programcılıgın 8. harikası"
dir(entry)
# [..., 'author_nickname', 'content', 'created', 'edited', 'favorite_count', 'id', 'url']
author = limoon.get_author("ssg")
# Author(ssg)
dir(author)
# [..., 'avatar_url', 'biography', 'follower_count', 'following_count', 'nickname', 'rank', 'total_entry', 'url']
Documentation
Documentation is here!
License
limoon
is distributed under the terms of the MIT license. Also the logo was made by @beucismis.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
limoon-0.0.5.tar.gz
(40.6 kB
view details)
Built Distribution
File details
Details for the file limoon-0.0.5.tar.gz
.
File metadata
- Download URL: limoon-0.0.5.tar.gz
- Upload date:
- Size: 40.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74b3e2401f2ee69594ae01f156300cf77864bbe5cce855e33617e2a5e4fc62a0 |
|
MD5 | dd0c61b504fa66a5dc493349a2d9a578 |
|
BLAKE2b-256 | 275559c297dcca5889e922fc85123e1558ab424f087d54d93150c4730d7091e1 |
File details
Details for the file limoon-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: limoon-0.0.5-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f9947d76c944880a242ff4733e3c3d52c9b4fb5c528f29eb27c59667d3d2e0d |
|
MD5 | e536d46ab5ec0d3b332a2ad022b42817 |
|
BLAKE2b-256 | 6c6472035a0f46f82aeb223582b02de5ed4a7b234a448bc73394787678d575fe |