pax_global_header 0000666 0000000 0000000 00000000064 13414436663 0014524 g ustar 00root root 0000000 0000000 52 comment=4c5d390a51fec7d9a2e840168d16b05251bbd2c1
woob-4c5d390a51fec7d9a2e840168d16b05251bbd2c1-modules-podnapisi/ 0000775 0000000 0000000 00000000000 13414436663 0023105 5 ustar 00root root 0000000 0000000 woob-4c5d390a51fec7d9a2e840168d16b05251bbd2c1-modules-podnapisi/modules/ 0000775 0000000 0000000 00000000000 13414436663 0024555 5 ustar 00root root 0000000 0000000 woob-4c5d390a51fec7d9a2e840168d16b05251bbd2c1-modules-podnapisi/modules/podnapisi/ 0000775 0000000 0000000 00000000000 13414436663 0026543 5 ustar 00root root 0000000 0000000 woob-4c5d390a51fec7d9a2e840168d16b05251bbd2c1-modules-podnapisi/modules/podnapisi/__init__.py 0000664 0000000 0000000 00000001437 13414436663 0030661 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2013 Julien Veyssier
#
# This file is part of weboob.
#
# weboob is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# weboob 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 Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see .
from .module import PodnapisiModule
__all__ = ['PodnapisiModule']
woob-4c5d390a51fec7d9a2e840168d16b05251bbd2c1-modules-podnapisi/modules/podnapisi/browser.py 0000664 0000000 0000000 00000003044 13414436663 0030601 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2013 Julien Veyssier
#
# This file is part of weboob.
#
# weboob is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# weboob 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 Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see .
from weboob.browser import PagesBrowser, URL
from .pages import SearchPage, SubtitlePage
__all__ = ['PodnapisiBrowser']
class PodnapisiBrowser(PagesBrowser):
BASEURL = 'https://www.podnapisi.net'
search = URL('/subtitles/search/advanced\?keywords=(?P.*)&language=(?P.*)',
'/en/subtitles/search/advanced\?keywords=(?P.*)&language=(?P.*)',
SearchPage)
file = URL('/subtitles/(?P-*\w*)/download')
subtitle = URL('/subtitles/(?P.*)', SubtitlePage)
def iter_subtitles(self, language, pattern):
return self.search.go(language=language, keywords=pattern).iter_subtitles()
def get_file(self, id):
return self.file.go(id=id).content
def get_subtitle(self, id):
return self.subtitle.go(id=id).get_subtitle()
woob-4c5d390a51fec7d9a2e840168d16b05251bbd2c1-modules-podnapisi/modules/podnapisi/favicon.png 0000664 0000000 0000000 00000003101 13414436663 0030671 0 ustar 00root root 0000000 0000000 PNG
IHDR @ @ iq sRGB bKGD pHYs tIME
)P˞ tEXtComment Created with GIMPW IDATxkTU6>j^b5JtfIYr44%")#B_JC_&J{#´@L4Au{5v\Gvsf̘1wag^{@N9SN9ԨuD|h#ޘM
@! +rƥ0\nt݀X Iw4(֓jq}/ } ڀg䚁'{ˀNJ9(@+5XiLPv _|Pb6`1:G-Wz.c
&,IIQSJ^Ѿ.B_I5N6s?0VX_gLpʘj|7u3&XmL|3`zL֘1NjbAS
c60?߳4N 0&+g8Еx@C>4}gR[0"7Ăf9*J' ',^S~ӿ+aU]
{c@K}l^6&X2zg9AӘ̃a5yA 0D}Ί]lro2 82792og2)c"/N~ 8ILcքMϨL;0Řh]y/ZcPi - nuZ ֤GCl0&r"-`LЦ 0Ę`ULO:zG+G`X-~zP(tG^,q$65B#sx""?[N ? 3EY+iEvZV+nEZHϸ.m"~+r"f1h>`AB|%Nו1@wOsf]t2ޘfqH˴]W/wݤ/( .@q;.Ҍ, )Zi XiZXݗ:scQ#^npw) |hV /mX.H֔v}[T"}6^u4y!*r`cjXQ ﵭ\R tvxaO9Uv/j78(vmjػX/ߎ:Cԋ8]3We@ߊLO1_aW/za8Y