No you can't.
Azure storage use SMB(CIFS) mounting on app service
(CIFS: When mounting, CIFS need to set the user, group, permission on folder, can't change after mount)
| <!doctype html> | |
| <html lang="zh-Hant"> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <title>Redirecting…</title> | |
| <style> | |
| body { | |
| font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Arial, sans-serif; | |
| display: flex; | |
| min-height: 100vh; |
| var result = []; | |
| Object.keys(localStorage).forEach(function(key){ | |
| result.push({"name":key,"value":localStorage.getItem(key)}); | |
| }); | |
| console.log(JSON.stringify(result)); |
| import requests | |
| from lxml import etree | |
| import json | |
| def download_from_list(path: str, prefix: str, urls: list): | |
| # Just for debug. | |
| # Urls : list<dict> | |
| # Can use axel or any downloader. | |
| for url_info in urls: |
| import requests | |
| import hashlib | |
| from lxml import etree | |
| HOST = "https://sso.wzu.edu.tw" | |
| CAPTCHA_DICT = { | |
| "9bcd5ab8fc729c83bdbbc784e3002d2f": "3", | |
| "543cd21e5aaa43d056d8068654c54b9a": "4", | |
| "5b24f8c135fee3ae3b14a1b9d0594704": "5", | |
| "2e81195ea486bd3704e94d8738cce591": "6", |
| var user = "110...學號"; | |
| //add jQuery | |
| var script = document.createElement('script'); | |
| script.type = 'text/javascript'; | |
| script.src = 'https://code.jquery.com/jquery-3.5.1.min.js'; | |
| document.head.appendChild(script); | |
| //calc user base64 Data "username%%yyyy-mm-dd" | |
| var base64Data = btoa(`${user}%%${new Date().getUTCFullYear()}-${('0'+ (new Date().getUTCMonth()+1)).substr(-2)}-${('0'+ new Date().getUTCDay()).substr(-2)}`); |
| import requests | |
| from lxml import etree | |
| def get_session(): | |
| sess = requests.session() | |
| sess.headers.update( | |
| {"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36"}) | |
| sess.verify = False | |
| return sess |
| <html> | |
| <head> | |
| <style> | |
| body { | |
| font-family: Arial, Helvetica, sans-serif; | |
| font-size: 20px; | |
| } | |
| #request { |