[cinchcast] Add new extractor (Fixes #4428)
This commit is contained in:
parent
4e40de6e2a
commit
42bdd9d051
5 changed files with 88 additions and 6 deletions
|
@ -144,6 +144,9 @@ class TestUtil(unittest.TestCase):
|
|||
self.assertEqual(unified_strdate('2012/10/11 01:56:38 +0000'), '20121011')
|
||||
self.assertEqual(unified_strdate('1968-12-10'), '19681210')
|
||||
self.assertEqual(unified_strdate('28/01/2014 21:00:00 +0100'), '20140128')
|
||||
self.assertEqual(
|
||||
unified_strdate('11/26/2014 11:30:00 AM PST', day_first=False),
|
||||
'20141126')
|
||||
|
||||
def test_find_xpath_attr(self):
|
||||
testxml = '''<root>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue