Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,8 @@ from simple_salesforce import Salesforce
|
|
| 2 |
import requests
|
| 3 |
|
| 4 |
# Salesforce login
|
| 5 |
-
sf = Salesforce(username='
|
|
|
|
| 6 |
|
| 7 |
# URL of the image you want to download
|
| 8 |
url = 'https://ddl00000ao4u7uaj-dev-ed.develop.my.salesforce.com/sfc/dist/version/renditionDownload?rendition=ORIGINAL_Jpg&versionId=068dL000005Qu25&operationContext=DELIVERY&contentId=05TdL0000060xRF&page=0&d=/a/dL0000002yZZ/L_lC3MGQhWHNFIOXncHjmz6jw6D4fdTgCBu6'
|
|
|
|
| 2 |
import requests
|
| 3 |
|
| 4 |
# Salesforce login
|
| 5 |
+
sf = Salesforce(username='alwaysajay411@gmail.com', password='Anusha@310819', security_token='qTNjQknSUHtbDAjkgGKR02SR'
|
| 6 |
+
')
|
| 7 |
|
| 8 |
# URL of the image you want to download
|
| 9 |
url = 'https://ddl00000ao4u7uaj-dev-ed.develop.my.salesforce.com/sfc/dist/version/renditionDownload?rendition=ORIGINAL_Jpg&versionId=068dL000005Qu25&operationContext=DELIVERY&contentId=05TdL0000060xRF&page=0&d=/a/dL0000002yZZ/L_lC3MGQhWHNFIOXncHjmz6jw6D4fdTgCBu6'
|