Skip to content

Commit 78c76a3

Browse files
authored
Update rdfa.py
1 parent fef751b commit 78c76a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extruct/rdfa.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
55
Based on pyrdfa3 and rdflib
66
"""
7+
from collections import defaultdict
8+
79
import json
810
import logging
911
import re
@@ -17,8 +19,6 @@
1719

1820
from extruct.utils import parse_xmldom_html
1921

20-
from collections import defaultdict
21-
2222

2323
# silence rdflib/PyRdfa INFO logs
2424
rdflib_logger.setLevel(logging.ERROR)

0 commit comments

Comments
 (0)