ck il y a 4 ans
Parent
commit
94a91bf264
3 fichiers modifiés avec 18 ajouts et 0 suppressions
  1. 0 0
      app/api_data/__init__.py
  2. 7 0
      app/api_data/get_order.py
  3. 11 0
      example/selenium_model.py

+ 0 - 0
app/api_data/__init__.py


+ 7 - 0
app/api_data/get_order.py

@@ -0,0 +1,7 @@
+from requests import request
+
+def yang_guang():
+    url = 'https://api.yifengaf.cn:443/api/channeldata/data/account/list'
+
+    data={'vip_id':'qucheng17qi'}
+   ''

+ 11 - 0
example/selenium_model.py

@@ -0,0 +1,11 @@
+from selenium import webdriver
+import time
+browser=webdriver.Chrome(executable_path='D:\workspace\chromedriver')
+
+browser.get('https://mp.weixin.qq.com/promotion/frame?t=ad_system/common_simple_frame&t1=campaign/edit&token=1340577178&from_pos_type=0#/')
+time.sleep(2)
+browser.find_element_by_xpath('//*[@id="kw"]').send_keys("selenium")
+time.sleep(2)
+browser.find_element_by_xpath('//*[@id="su"]').click()
+
+