Commits

Anonymous committed 7f97d04

FIX: Fixed regex to identify the year of the menu.

Comments (0)

Files changed (1)

 #   See the License for the specific language governing permissions and
 #   limitations under the License.
 
-__version__ = '2.0b4'
+__version__ = '2.0b5'
 
 from os.path import basename
 from urlparse import urlsplit
     'Pinheiros' : {
         'url'     : 'http://www.sescsp.org.br/unidades/unidade-facilidades.action?id=10',
         'pdf'     : r'(?i).*?card.+?pio.*?',
-        'years'   : r'^\d{1,2}\s.+\s(\d{2,4})',
+        'years'   : r'^.+\s(\d{2,4})',
         'months'  : r'^\d{1,2}[^\s]*\s?(\w+)?\sa\s\d{1,2}[^\s]*\s(\w+)\s\d{2,4}',
         'entries' : r'^.?\d\d\s•.+?(?=\n\n)',
         'day'     : r'(?P<day>\d\d?)\s',