Changeset 41359 for titan


Ignore:
Timestamp:
12/07/17 21:47:17 (5 years ago)
Author:
obi
Message:

openload add errormsg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localhoster/openload.py

    r41213 r41359  
    410410
    411411#        print "222222222222222222222222"
     412        if re.search('Sorry!</h3>', data):
     413            print 'errormsg=%s %s' % (str(re.compile('<h3>(.*)</h3>').findall(data)[0]), str(re.compile('<h6>(.*)</h6>').findall(data)[0]))
    412414
    413415        subTracksData = self.getAllItemsBeetwenMarkers(data, '<track ', '>', False, False)
Note: See TracChangeset for help on using the changeset viewer.