Skip to content

Commit 37dd4c8

Browse files
committed
API 변경 반영
1 parent 302233d commit 37dd4c8

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎bigpython/webscrap/html.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# coding: utf-8
2-
from urllib.parse import urlparse
3-
import re
42
import importlib
53

64
import requests

‎tests/test_html.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ def test_extract_table():
1212
# 파일 삭제
1313
os.unlink(filename)
1414

15-
table_frames = html_doc.extract_tables('table.wikitable')
16-
assert table_frames[0].ix[0,0] == '1912년'
15+
table_frame = html_doc.extract_tables('table.wikitable')
16+
assert table_frame[0].ix[0,0] == '1912년'
1717

1818
def test_get_html():
1919
# source is url

0 commit comments

Comments
 (0)