calibre/recipes/yeni_umit_dergisi.recipe
Kovid Goyal 567040ee1e Perform PEP8 compliance checks on the entire codebase
Some bits of PEP 8 are turned off via setup.cfg
2016-07-29 21:25:17 +05:30

32 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# -*- coding: utf-8 -*-
from calibre.web.feeds.news import BasicNewsRecipe
class YeniUmit(BasicNewsRecipe):
title = u'Yeni Umit Dergisi'
__author__ = u'thomass'
description = 'Aylık Dini İlimler ve Kültür Dergisi'
oldest_article = 45
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/d1.gif'
masthead_url = 'http://www.sizinti.com.tr/images/dergiler/d1.gif'
feeds = [
(u'Yeni Umit', u'http://open.dapper.net/services/yeniumit'),
]
def print_version(self, url): # there is a probem caused by table format
return url.replace('http://www.yeniumit.com.tr/konular', 'http://www.yeniumit.com.tr/yazdir')