mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
# -*- coding: utf-8 -*-
|
||
|
||
from calibre.web.feeds.news import BasicNewsRecipe
|
||
|
||
|
||
class Yagmur(BasicNewsRecipe):
|
||
title = u'Yagmur Dergisi'
|
||
__author__ = u'thomass'
|
||
description = 'Üç Aylık Dil, Kültür ve Edebiyat Dergisi'
|
||
oldest_article = 90
|
||
max_articles_per_feed = 100
|
||
no_stylesheets = True
|
||
|
||
category = 'dergi, ilim, kültür, edebiyat,Türkçe'
|
||
language = 'tr'
|
||
publication_type = 'magazine'
|
||
encoding = 'ISO 8859-9'
|
||
publisher = 'thomass'
|
||
|
||
conversion_options = {
|
||
'tags': category, 'language': language, 'publisher': publisher, 'linearize_tables': True
|
||
}
|
||
|
||
cover_img_url = 'http://www.sizinti.com.tr/images/dergiler/d2.gif'
|
||
masthead_url = 'http://www.sizinti.com.tr/images/dergiler/d2.gif'
|
||
|
||
feeds = [
|
||
(u'Yagmur', u'http://open.dapper.net/services/yagmur'),
|
||
]
|
||
|
||
def print_version(self, url): # there is a probem caused by table format
|
||
return url.replace('http://www.yagmurdergisi.com.tr/konu_goster.php?konu_id=', 'http://www.yagmurdergisi.com.tr/yazformati.php?konu_id=')
|