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!
pip install -U limoon
import limoon
limoon.BASE_URL = "https://eksisozluk1923.com"
print(limoon.BASE_URL)
# 'https://eksisozluk1923.com'
topic = limoon.get_topic("richard stallman")
# Topic(43270)
dir(topic)
# [..., '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', 'date', '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']
search_result = limoon.get_search_topic("linux")
# Iterator[SearchResult]
list(search_result)
# [SearchResult(linux), SearchResult(linux mint), SearchResult(arch linux), SearchResult(linux ile windows karşılaştırması), SearchResult(linux kullanabilen kız), ...]
Documentation is here. This page is auto generated. Don't edit!
limoon
is distributed under the terms of the MIT license. Also the logo was made by @beucismis.