family-guy commited on
Commit
ddd3906
·
1 Parent(s): bd19375

python2 compatibility

Browse files
Files changed (1) hide show
  1. pytube/extract.py +1 -1
pytube/extract.py CHANGED
@@ -1,9 +1,9 @@
1
  # -*- coding: utf-8 -*-
2
  """This module contains all non-cipher related data extraction logic."""
3
- from html.parser import HTMLParser
4
  import json
5
  from collections import OrderedDict
6
 
 
7
  from pytube.compat import quote
8
  from pytube.compat import urlencode
9
  from pytube.exceptions import RegexMatchError
 
1
  # -*- coding: utf-8 -*-
2
  """This module contains all non-cipher related data extraction logic."""
 
3
  import json
4
  from collections import OrderedDict
5
 
6
+ from pytube.compat import HTMLParser
7
  from pytube.compat import quote
8
  from pytube.compat import urlencode
9
  from pytube.exceptions import RegexMatchError