mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
# -*- coding: utf-8 -*-
|
||
|
||
from calibre.web.feeds.news import BasicNewsRecipe
|
||
|
||
|
||
class TodaysZaman_en(BasicNewsRecipe):
|
||
title = u'Sızıntı Dergisi'
|
||
__author__ = u'thomass'
|
||
description = 'a Turkey based daily for national and international news in the fields of business, diplomacy, politics, culture, arts, sports and economics, in addition to commentaries, specials and features' # noqa
|
||
oldest_article = 30
|
||
max_articles_per_feed = 80
|
||
no_stylesheets = True
|
||
encoding = 'utf-8'
|
||
category = 'dergi, ilim, kültür, bilim,Türkçe'
|
||
language = 'tr'
|
||
publication_type = 'magazine'
|
||
|
||
cover_img_url = 'http://www.sizinti.com.tr/images/sizintiprint.jpg'
|
||
masthead_url = 'http://www.sizinti.com.tr/images/sizintiprint.jpg'
|
||
remove_tags_before = dict(id='content-right')
|
||
|
||
feeds = [
|
||
(u'Sızıntı', u'http://www.sizinti.com.tr/rss'),
|
||
]
|
||
|
||
# def preprocess_html(self, soup):
|
||
# return self.adeify_images(soup)
|
||
# def print_version(self, url): #there is a probem caused by table format
|
||
# return
|
||
# url.replace('http://www.todayszaman.com/newsDetail_getNewsById.action?load=detay&',
|
||
# 'http://www.todayszaman.com/newsDetail_openPrintPage.action?')
|