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', 'badges', 'biography', 'follower_count', 'following_count', 'nickname', 'rank', 'total_entry', 'url']
Documentation
Documentation is here. This page is auto generated. Don't edit!
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.8.tar.gz
(41.3 kB
view details)
Built Distribution
File details
Details for the file limoon-0.0.8.tar.gz
.
File metadata
- Download URL: limoon-0.0.8.tar.gz
- Upload date:
- Size: 41.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92f4bea3c254d8f22c07d436332ffb530d27aa2e041e6042e82400f8c9a3b925 |
|
MD5 | 6cd22ca1829d08e2cf9fb5dcc1002bfb |
|
BLAKE2b-256 | c99d917a65e8902854373ad751597cfcee02fb31f77c96ccae80b634857a3d72 |
File details
Details for the file limoon-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: limoon-0.0.8-py3-none-any.whl
- Upload date:
- Size: 7.2 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 | eb3c9c9b9cbcabcc83e251de4022e752b68bd3066c0a966ad197c91ba299a49c |
|
MD5 | 13512a858366b36c6ca3136bfd072b9d |
|
BLAKE2b-256 | 3879efb5e4797a9c9127da0c0acdc816d6d14c7c33b8a674cfd4ca62d080dd58 |