MediaFire
MediaFire
- MediaFire does not provide
API_KEY
norAPP
support anymore, so setting user session values is a must. - ⚠️ Alist version > 3.53.0 to get this driver.
Configure storage
Go http://localhost:5244/@manage/storages or your custom AList web
Press "Add" button to bind another storage
Choose "MediaFire"
Set Mount Path, i.e. /MediaFire/MyCloud
Go https://mediafire.com in another browser tab
Open Dev Tools by pressing F12 or (Ctrl / Command) + Shift + I
Press "Network" tab (upper bar)
Press F5 to refresh and start intercepting all requests
Copy the
Session Token
Switch tab to AList Admin and Paste it into Session Token field
Switch tab to MediaFire and Copy the
Cookie
Switch back tab to AList Admin and Paste it into Cookie field
Verify Session Token and Cookie are set
- Press "Add" button again to confirm your MediaFire storage. Done!
Root folder ID
Default is "/", because this driver roots to "myfiles", and then manages directories to folderID like "xxxyyyzzz123".
- Custom folder root is currently not supported since MediaFire dir structure is based in IDs, not in sequential navigation i.e. /myfiles/Photos/Christmas/
Features
List, Link, MakeDir, Move, Rename, Copy, Remove, Put, PutResult
Session auto-refreshing
Upload is resumable and supports recovery, due to splitted in chunks transmission. Very useful for big files.
Tips
root folder ID
,root folder Path
will be set automaticallyMediaFire closes the current session after 10 mins, an auto renewal of session (as stated before) is already implemented, however if you shut down AList or your PC, session will expire and reconfiguring session and cookie is mandatory, in order to keep the storage working!
If you have AList running in a server or smartphone, you will likely do not have problems about the uggly session expiry, unless AList server get off.