Spaces:
Runtime error
Runtime error
Commit
·
fce53c3
1
Parent(s):
61ace52
Update app.py
Browse files
app.py
CHANGED
@@ -58,10 +58,10 @@ def whichsocial(request):
|
|
58 |
'reddit', 'picterest', 'discord', '']
|
59 |
for partsplit in request.split('/'):
|
60 |
for part in partsplit.split('.'):
|
61 |
-
for
|
62 |
-
if
|
63 |
-
print('found part')
|
64 |
-
socialnetwork =
|
65 |
else:
|
66 |
website = "it's not a website link !"
|
67 |
userprofile = 'me'
|
|
|
58 |
'reddit', 'picterest', 'discord', '']
|
59 |
for partsplit in request.split('/'):
|
60 |
for part in partsplit.split('.'):
|
61 |
+
for sn in listsocialnetwork:
|
62 |
+
if sn == part:
|
63 |
+
print('found part ', sn)
|
64 |
+
socialnetwork = sn
|
65 |
else:
|
66 |
website = "it's not a website link !"
|
67 |
userprofile = 'me'
|