mdbq 4.0.28__tar.gz → 4.0.29__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. {mdbq-4.0.28 → mdbq-4.0.29}/PKG-INFO +1 -1
  2. mdbq-4.0.29/mdbq/__version__.py +1 -0
  3. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/other/download_sku_picture.py +6 -0
  4. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/spider/aikucun.py +6 -0
  5. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq.egg-info/PKG-INFO +1 -1
  6. mdbq-4.0.28/mdbq/__version__.py +0 -1
  7. {mdbq-4.0.28 → mdbq-4.0.29}/README.txt +0 -0
  8. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/__init__.py +0 -0
  9. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/aggregation/__init__.py +0 -0
  10. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/aggregation/query_data.py +0 -0
  11. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/log/__init__.py +0 -0
  12. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/log/mylogger.py +0 -0
  13. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/myconf/__init__.py +0 -0
  14. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/myconf/myconf.py +0 -0
  15. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/myconf/myconf_bak.py +0 -0
  16. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/mysql/__init__.py +0 -0
  17. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/mysql/deduplicator.py +0 -0
  18. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/mysql/mysql.py +0 -0
  19. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/mysql/s_query.py +0 -0
  20. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/mysql/unique_.py +0 -0
  21. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/mysql/uploader.py +0 -0
  22. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/other/__init__.py +0 -0
  23. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/other/otk.py +0 -0
  24. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/other/pov_city.py +0 -0
  25. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/other/ua_sj.py +0 -0
  26. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/pbix/__init__.py +0 -0
  27. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/pbix/pbix_refresh.py +0 -0
  28. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/pbix/refresh_all.py +0 -0
  29. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/redis/__init__.py +0 -0
  30. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/redis/getredis.py +0 -0
  31. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq/spider/__init__.py +0 -0
  32. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq.egg-info/SOURCES.txt +0 -0
  33. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq.egg-info/dependency_links.txt +0 -0
  34. {mdbq-4.0.28 → mdbq-4.0.29}/mdbq.egg-info/top_level.txt +0 -0
  35. {mdbq-4.0.28 → mdbq-4.0.29}/setup.cfg +0 -0
  36. {mdbq-4.0.28 → mdbq-4.0.29}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: mdbq
3
- Version: 4.0.28
3
+ Version: 4.0.29
4
4
  Home-page: https://pypi.org/project/mdbq
5
5
  Author: xigua,
6
6
  Author-email: 2587125111@qq.com
@@ -0,0 +1 @@
1
+ VERSION = '4.0.29'
@@ -119,6 +119,12 @@ class LoadAccount:
119
119
  os.environ["webdriver.chrome.driver"] = chrome_path
120
120
  # option.binary_location = chrome_path # Macos 设置此参数报错
121
121
  service = Service(chromedriver_path)
122
+ elif platform.system().lower() == 'linux':
123
+ # ubuntu
124
+ chrome_path = '/usr/bin/google-chrome'
125
+ chromedriver_path = '/usr/local/bin/chromedriver'
126
+ # option.binary_location = chrome_path # macOS 设置此参数有效
127
+ service = Service(chromedriver_path)
122
128
  else:
123
129
  chrome_path = '/usr/local/chrome/Google Chrome for Testing.app'
124
130
  chromedriver_path = '/usr/local/chrome/chromedriver'
@@ -125,6 +125,12 @@ class AikuCun:
125
125
  os.environ["webdriver.chrome.driver"] = chrome_path
126
126
  # option.binary_location = chrome_path # Macos 设置此参数报错
127
127
  service = Service(chromedriver_path)
128
+ elif platform.system().lower() == 'linux':
129
+ # ubuntu
130
+ chrome_path = '/usr/bin/google-chrome'
131
+ chromedriver_path = '/usr/local/bin/chromedriver'
132
+ # option.binary_location = chrome_path # macOS 设置此参数有效
133
+ service = Service(chromedriver_path)
128
134
  else:
129
135
  chrome_path = '/usr/local/chrome/Google Chrome for Testing.app'
130
136
  chromedriver_path = '/usr/local/chrome/chromedriver'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: mdbq
3
- Version: 4.0.28
3
+ Version: 4.0.29
4
4
  Home-page: https://pypi.org/project/mdbq
5
5
  Author: xigua,
6
6
  Author-email: 2587125111@qq.com
@@ -1 +0,0 @@
1
- VERSION = '4.0.28'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes