Browse Source

Automatic Commit By liuyuqi

liuyuqi-dellpc 1 year ago
parent
commit
12b02a3820
4 changed files with 10 additions and 8 deletions
  1. 2 2
      README.md
  2. 3 1
      crawl_price/__init__.py
  3. 1 1
      crawl_price/price.py
  4. 4 4
      main.py

+ 2 - 2
README.md

@@ -2,10 +2,10 @@
 
 获取各平台商品价格,批发价格
 
-
 ## License
 
-[Apache 2.0](LICENSE)
+Licensed under the [Apache 2.0](LICENSE) © [liuyuqi.gov@msn.cn](https://github.com/jianboy)
+
 
 ## Reference
 

+ 3 - 1
crawl_price/__init__.py

@@ -1 +1,3 @@
-from .beian import Beian
+from .price import Price
+
+

+ 1 - 1
crawl_price/price.py

@@ -13,7 +13,7 @@ import pandas as pd
 from lxml import etree
 
 class Price(object):
-    """beian """
+    """ price """
     
     def __init__(self):
         self.sess = requests.Session()

+ 4 - 4
main.py

@@ -6,10 +6,10 @@
 @License :   Copyright © 2017-2022 liuyuqi. All Rights Reserved.
 @Desc    :   enter point
 """
-from crawl_beian import Beian 
-from crawl_beian.options import parse_args
+from crawl_price import Price 
+from crawl_price.options import parse_args
 
 if __name__=='__main__':
-    beian =Beian()
-    beian.crawl()
+    crawl_price =Price()
+    crawl_price.crawl()