We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 961e9b6 commit 55a7159Copy full SHA for 55a7159
2 files changed
auth.py
@@ -8,9 +8,9 @@
8
# requirements
9
import requests, termcolor
10
# try:
11
-# import BeautifulSoup
12
-# except:
13
# from bs4 import BeautifulSoup
+# except:
+# import BeautifulSoup
14
# Darwin platform
15
# BeautifulSoup = BeautifulSoup.BeautifulSoup
16
zhihu.py
@@ -56,11 +56,11 @@
56
57
import requests, termcolor, html2text
58
try:
59
- import BeautifulSoup
60
-except:
61
from bs4 import BeautifulSoup
+except:
+ import BeautifulSoup
62
63
-BeautifulSoup = BeautifulSoup.BeautifulSoup
+#BeautifulSoup = BeautifulSoup.BeautifulSoup
64
65
reload(sys)
66
sys.setdefaultencoding('utf8')
0 commit comments