+
Skip to content

beucismis/limoon

Repository files navigation

limoon-logo

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!

PyPI - Version PyPI - Python Version GitHub License GitHub Actions Workflow Status GitHub Actions Workflow Status GitHub Actions Workflow Status

Installing

pip install -U limoon

Examples

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

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.

About

Web scraper base Pythonic API for Ekşi Sözlük

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载