[wsj] Add new extractor (Fixes #4854)
This commit is contained in:
parent
1a6373ef39
commit
9bb8e0a3f9
5 changed files with 95 additions and 1 deletions
|
@ -156,6 +156,9 @@ class TestUtil(unittest.TestCase):
|
|||
self.assertEqual(
|
||||
unified_strdate('11/26/2014 11:30:00 AM PST', day_first=False),
|
||||
'20141126')
|
||||
self.assertEqual(
|
||||
unified_strdate('2/2/2015 6:47:40 PM', day_first=False),
|
||||
'20150202')
|
||||
|
||||
def test_find_xpath_attr(self):
|
||||
testxml = '''<root>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue