Skip to main content
Help us improve Python packaging – donate today!

Ekşi Sözlük scraper

Project Description

SourPy is a scraper for Ekşi Sözlük, the popular Turkish social media site.

Warning

This project is not mature enough and requires a lot of testing. Use it at your own risk.

Installation

pip install sourpy

Documentation

In progress.

Usage

User statistics can be gathered as follows:

import sourpy
import pprint

user = sourpy.suser.Suser("ssg")

# son entry'leri
pprint.pprint(user.get_most_recent_entries())

# en beğenilenleri
pprint.pprint(user.get_top_entries())

# en çok favorilenen entry'leri
pprint.pprint(user.get_most_favorited_entries())

# bu hafta dikkat çekenleri
pprint.pprint(user.get_entries_rated_this_week())

#favori entry'leri
pprint.pprint(user.get_favorite_entries())

Ekşi Sözlük interface can be used as follows:

import sourpy
import pprint

debe = sourpy.get_debe()
pprint.pprint(debe)

gundem = sourpy.get_gundem()
pprint.pprint(gundem)

pena = sourpy.get_entry("1")
pprint.pprint(pena)

sukela = sourpy.get_sukela()
pprint.pprint(sukela)

License

Copyright (c) 2014 Eren Inan Canpolat

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Release history Release notifications

This version
History Node

0.2.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
sourpy-0.2.1.tar.gz (5.4 kB) Copy SHA256 hash SHA256 Source None Sep 29, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page