mirror of
https://github.com/CapsAdmin/wowozela.git
synced 2025-03-04 03:13:27 -05:00
Fix more google drive urls
This commit is contained in:
parent
842ffd5e8d
commit
970bf56abd
@ -153,7 +153,9 @@ if CLIENT then
|
||||
end
|
||||
|
||||
local patterns = {
|
||||
["^https?://drive%.google%.com/file/d/([%d%w]+)/view"] = "https://drive.google.com/u/0/uc?id=%s&export=download",
|
||||
["^https?://drive%.google%.com/file/d/([%d%w]+)/"] = "https://drive.google.com/u/0/uc?id=%s&export=download",
|
||||
["^https?://drive%.google%.com/file/d/([%d%w]+)$"] = "https://drive.google.com/u/0/uc?id=%s&export=download",
|
||||
["^https?://drive%.google%.com/open%?id=([%d%w]+)$"] = "https://drive.google.com/u/0/uc?id=%s&export=download",
|
||||
["^https?://www%.dropbox%.com/s/(.+)%?dl%=[01]$"] = "https://dl.dropboxusercontent.com/s/%s",
|
||||
["^https?://www%.dropbox%.com/s/(.+)$"] = "https://dl.dropboxusercontent.com/s/%s",
|
||||
["^https?://dl%.dropbox%.com/s/(.+)%?dl%=[01]$"] = "https://dl.dropboxusercontent.com/s/%s",
|
||||
@ -913,6 +915,7 @@ simple [[onedrive.live.com/redir]]
|
||||
simple [[docs.google.com/uc]]
|
||||
simple [[drive.google.com/file/d/]]
|
||||
simple [[drive.google.com/u/0/uc]]
|
||||
simple [[drive.google.com/open]]
|
||||
|
||||
--[=[
|
||||
-- Imgur
|
||||
|
Loading…
Reference in New Issue
Block a user