mirror of https://github.com/calzoneman/sync.git
Accept drive.google.com/file/d/blah as a substitute for docs.google.com/file/d/blah
This commit is contained in:
parent
ea9fa0a95a
commit
293f943a9a
|
@ -1276,7 +1276,7 @@ function parseMediaLink(url) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((m = url.match(/docs\.google\.com\/file\/d\/([^\/]*)/))) {
|
if ((m = url.match(/(?:docs|drive)\.google\.com\/file\/d\/([^\/]*)/))) {
|
||||||
return {
|
return {
|
||||||
id: m[1],
|
id: m[1],
|
||||||
type: "gd"
|
type: "gd"
|
||||||
|
|
Loading…
Reference in New Issue