Spaces:
Runtime error
Runtime error
helloccu
commited on
Commit
•
23718ad
1
Parent(s):
c7df05d
Add application file
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def greet(name):
|
|
12 |
}
|
13 |
print(url)
|
14 |
response = requests.get(url, headers=headers)
|
15 |
-
print(response.text)
|
16 |
|
17 |
# use regex to find "fb:\/\/story\/?graphqlid= ... &wtsid= ..."
|
18 |
graphqlid_match = re.search(r"graphqlid=([^&]+)", response.text)
|
|
|
12 |
}
|
13 |
print(url)
|
14 |
response = requests.get(url, headers=headers)
|
15 |
+
print(response.status_code, response.url, response.text)
|
16 |
|
17 |
# use regex to find "fb:\/\/story\/?graphqlid= ... &wtsid= ..."
|
18 |
graphqlid_match = re.search(r"graphqlid=([^&]+)", response.text)
|