pax_global_header 0000666 0000000 0000000 00000000064 14042356110 0014506 g ustar 00root root 0000000 0000000 52 comment=18d41565f955028f9fcd2f6cc437f5f1cb717401
woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-podnapisi/ 0000775 0000000 0000000 00000000000 14042356110 0022765 5 ustar 00root root 0000000 0000000 woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-podnapisi/modules/ 0000775 0000000 0000000 00000000000 14042356110 0024435 5 ustar 00root root 0000000 0000000 woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-podnapisi/modules/podnapisi/ 0000775 0000000 0000000 00000000000 14042356110 0026423 5 ustar 00root root 0000000 0000000 woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-podnapisi/modules/podnapisi/__init__.py 0000664 0000000 0000000 00000001504 14042356110 0030534 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2013 Julien Veyssier
#
# This file is part of a woob module.
#
# This woob module 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.
#
# This woob module 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 this woob module. If not, see .
from .module import PodnapisiModule
__all__ = ['PodnapisiModule']
woob-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-podnapisi/modules/podnapisi/browser.py 0000664 0000000 0000000 00000003107 14042356110 0030461 0 ustar 00root root 0000000 0000000 # -*- coding: utf-8 -*-
# Copyright(C) 2013 Julien Veyssier
#
# This file is part of a woob module.
#
# This woob module 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.
#
# This woob module 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 this woob module. If not, see .
from woob.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-18d41565f955028f9fcd2f6cc437f5f1cb717401-modules-podnapisi/modules/podnapisi/favicon.png 0000664 0000000 0000000 00000003101 14042356110 0030551 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