File tree 1 file changed +20
-2
lines changed
1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 21
21
from gggne .section import download_and_extract
22
22
from gggne .details_list import download_and_extract
23
23
24
- r = download_and_extract ('https://news.sina.com.cn/' , False , encoding = 'utf-8' )
25
- print (json .dumps (r , ensure_ascii = False ))
24
+ # r = download_and_extract('https://news.sina.com.cn/', False, encoding='utf-8')
25
+ # print(json.dumps(r, ensure_ascii=False))
26
+
27
+ # from gggne.details import download_and_extract
28
+ # print(json.dumps(
29
+ # download_and_extract(
30
+ # 'http://www.bj.chinanews.com.cn/news/2023/0612/90910.html',
31
+ # encoding='gb2312'),
32
+ # ensure_ascii=False))
33
+
34
+ # print(json.dumps(
35
+ # download_and_extract(
36
+ # 'https://www.bj.chinanews.com.cn/',
37
+ # encoding='gb2312'), ensure_ascii=False))
38
+
39
+ from gggne .section import download_and_extract
40
+ print (json .dumps (
41
+ download_and_extract (
42
+ 'https://www.bj.chinanews.com.cn/' ,
43
+ encoding = 'gb2312' ), ensure_ascii = False ))
You can’t perform that action at this time.
0 commit comments