Spaces:
Sleeping
Sleeping
Update user_guide_sync.py
Browse files- user_guide_sync.py +2 -2
user_guide_sync.py
CHANGED
|
@@ -25,7 +25,7 @@ url = 'https://help.storemate.cloud/docs/'
|
|
| 25 |
def get_web_data(valid_links):
|
| 26 |
for url in valid_links:
|
| 27 |
# Send a GET request to the URL
|
| 28 |
-
response = requests.get(url)
|
| 29 |
|
| 30 |
# Parse the page content with BeautifulSoup
|
| 31 |
soup = BeautifulSoup(response.content, 'html.parser')
|
|
@@ -46,7 +46,7 @@ def get_web_data(valid_links):
|
|
| 46 |
|
| 47 |
def get_base_links():
|
| 48 |
# Send a GET request to the URL
|
| 49 |
-
response = requests.get(url)
|
| 50 |
|
| 51 |
# Parse the page content with BeautifulSoup
|
| 52 |
soup = BeautifulSoup(response.content, 'html.parser')
|
|
|
|
| 25 |
def get_web_data(valid_links):
|
| 26 |
for url in valid_links:
|
| 27 |
# Send a GET request to the URL
|
| 28 |
+
response = requests.get(url,verify=False)
|
| 29 |
|
| 30 |
# Parse the page content with BeautifulSoup
|
| 31 |
soup = BeautifulSoup(response.content, 'html.parser')
|
|
|
|
| 46 |
|
| 47 |
def get_base_links():
|
| 48 |
# Send a GET request to the URL
|
| 49 |
+
response = requests.get(url,verify=False)
|
| 50 |
|
| 51 |
# Parse the page content with BeautifulSoup
|
| 52 |
soup = BeautifulSoup(response.content, 'html.parser')
|