问题描述
我进行了此更改,使我可以在MongoDB的集合内插入客户端。 当我创建函数时,PHP抛出错误500。 这对我来说很奇怪,因为它是在我编写函数时发生的,而不是在我调用它时发生的
函数是:
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from webdriver_manager.chrome import ChromeDriverManager
driver = webdriver.Chrome(ChromeDriverManager().install())
from bs4 import BeautifulSoup
import time
url = 'https://www.aodour.pk/brand/hemani'
driver.get(url)
time.sleep(30) #for loading the page properly
html_js = driver.page_source
#driver.find_element_by_tag_name('body').send_keys(Keys.ESCAPE)
#I tried to skip the AD but didn't know why not it skip the AD
driver.get(url) #try to reload the page again (for skipped the Ad)
time.sleep(30)
soup = BeautifulSoup(html_js,'html.parser')
解决方法
找出原因。我在?string $token = null
不需要问号。