unintended / download-organizer-chrome-extension Goto Github PK
View Code? Open in Web Editor NEWChrome extesion that allows you to set custom download locations with a flexible regexp-based rules.
License: MIT License
Chrome extesion that allows you to set custom download locations with a flexible regexp-based rules.
License: MIT License
Could you please add the option to use boolean logic? Or maybe release another extension that uses boolean instead? ANDs are quite cumbersome in regex. I want to have non-mp4 videos go to a "to be converted" folder using "videos/* & !videos/mp4".
also
On macs (don't know about windows), aliases can be used instead of symbolic links, so you might want to recommend those in the "help" section.
Really love this extension. I and I'm sure a lot of other people could benefit from proper documentation with examples/tutorials if possible. I know this is a lot to ask, but maybe a few people can contribute. I've gone through a lot of trial and error to get what I want and still some seemingly obvious entries don't work. Having said that, I'm no regex guru. Anyway, just thought I would put this out there. Thanks again for creating this.
If Chrome API supports downloading a file without opening a dialog, then it would be convenient for each rule to be able to choose - "Automatic save/Show Dialog"
Thanks for the extension! :)
Please help. This is driving me crazy.
I have multiple gmail accounts, and want to get documents from each account downloaded separate in its own folder.
This is my referrer URL: .*\mail\.google\.com\/mail\/u\/(.).*
This is my download folder: gmail/ACCOUNT${referrer:1}/
I've tried multiple combinations to see if something is wrong, can't make it work.
Can someone correct it? Thank you!
EDIT: Didn't realize that it was not displaying code correctly. Now it's as I entered
1.Enable global referrer folders ?
2.How can I arrange my downloads in directories based on date ?
Adding a rule with destination path ${filename}.foobar
does not seem to work. This seems to be a limitation in the Chrome API, where calling suggest
with a filename of a known mime type will always override the file extension.
It would be good to add this limitation to the right hand side help/tips documenaton.
I was able to work around it by using another extension to modify the response headers for the same url as I'm downloading, changing the Content-Type
header to application/x-foobar
. Then it is possible to change the file extension.
Perhaps this extension could add a hook for onHeadersReceived
for the downloaded URL, and change the response content type to application/x-download-organizer
to ensure extensions can always be changed?
Just installed this. Looks nice. The default rule site/${referer:1}/
does not appear to work. The file just gets dumped in my Downloads directory like normal. The rule is enabled and at the top. I disabled all other rules. Still doesn't work.
The other rules like for archives do seem to work fine.
I also tried to make my own rule for a specific site like this:
Referrer URL: .cdn.mywebsite.com.
Destination Path: mywebsite-downloads/
That also did not work. File just goes to the Downloads directory. What am I missing here?
I dont know if i did something wrong but it puts my files in the normal downloads folder and not in the folder i put in.
Pls help
It seems the latest Chrome update has rendered the referrer aspect of the rules obsolete as the addin can now no longer get the whole Referrer URL meaning my rule(s) don't work.
There was a setting in Chrome to relax this rule, but it seems this is now deprecated and there is no way to bring this behaviour back.... is there anything else I can do to get the extension to work, it's so useful!
Hello. Im sorry if it is too simple quastion but I could not figure it out by myself. It checks where's default folder in Chrome and each download adding to that folder - but if I do not use this script it can remember last saved folder how can I achive that?
For exaple if I have downloaded once in directory C:/Downloads/1 the next files will be dowloading into that directory but in my case it always goes to C:/Dowloads
Hi,
I love this extension but never can make it right. Every extension working right but I want to set my path from dafont.com to my dafont folder. The problem is, dafont fonts contains with these links;
https://dl.dafont.com/dl/?f=fontname.
I tried with dafont and dl.dafont.com but never works. I'm not really good with these things. Could you explain what I have to input with MIME, File URL, Referrer URL, Filena, Destination Path sections?
Thanks a lot!
This is a feature request.
In case you have a URL, for example
https://www.abc.company.com/123456/file=bla.exe
I would like my file to be downloaded to folder location "123456/bla.exe"
If this is currently already possible, I would love to learn how :)
BR,
Des
Hi,
As specified in Help section of the Download rules, the root folder (forced by Chrome) is Download.
I wish to change it.
You specified You can use symbolic links to circumvent this limitation
, my understanding of a Symbolic link is that it represents the Windows Shortcut.
So I created a shortcut, placed it in the Download folder.
But the issue is that the extension create a new folder named exactly like the shortcut(https://i.imgur.com/EDviCtr.png). It's not really what I want :) So maybe I did something wrong ? Or is it a bug ?
Here is what my rule looks like : https://i.imgur.com/qddlN0b.png
Thank you for help.
How do I make all files downloaded from wetransfer.com go to their own wetransfer folder?
Is there any chance of porting this to Firefox, since they now use a similar extension API to Chrome's? There are a few similar extensions for Firefox, but they seem to not work as well (and require saving through a different right-click menu item than the regular 'Save As' option).
When trying to use more than one matcher in destination this extension fails.
Like this: site/{referrer:1}/{mime:1}/
or like this: site/{referrer:1}/{referrer:2}/
I am using Chromium 71.0.3578.98 and version 0.2.4 of the extension.
I tried with text/.*
and text/html
. Still didn't work. It converts html files into text file in download. Your Others
rule also didn't work with that.
If User added rule with following RegExp ^blahblah(.+)installer.exe, file will be downloaded with wrong ext.
If filenames contain ä/ö/ü (e.g. in German files), the download rules don't work.
hi there,
when downloading the "download_rules.txt", i would be happy, if the addon would use its own rules, but in my case a complete different rule is used, even my first rule is:
but even this is my first rule, a completely different rule is used that has nothing to do with that. i am not sure if that is a bug.
update: i put a "\" before the "." - but still does not match 🤔
I am using the built in "Organize downloads by domain-named folders" setting only and .xlsm files are being renamed to .zip. Disabling this rule avoids the issue.
I'm not sure this is a supported scenario. I'm using the extension in Opera on Windows 10. Opera is configured to ask me where to store the file. Without the extension, Opera's normal behavior is to use the last directory where I have stored a download as starting point.
My expectation with this extension was that the starting point that I see in Opera's download dialog is the one I have configured in the extension. This doesn't seem to work; it continues to be the last directory I used.
Should this work as I want it to work?
It does not seem folders with tildes (~) in their name can be saved to even if escaped.
I want to distinguish .exe files whose size is bellow 10MB to store in TOOLS folder, while higher size .exe files to store in PROGRAMS folder. Maybe, that would be useful for everyone.
How to add . dmg file extension?
Hi, I've noticed that at least one of my rules seems to occasionally get reset to the default. So far it's happened 2-4 times and I suspect it's related to either automatic updates for the extension or my Chromium updates. I only change the destination path in that rule to capitalise the directory name and add a sub-directory, nothing else. This is a minor nuisance but I thought I should mention it anyway. Perhaps this behaviour is intended and I'm doing something wrong?
In the last couple of weeks this addin has completely stopped working for me.
All I have 1 rule, based on the referrer URL that places it in a subfolder of the Downloads, based on a number in this referrer url. It was all working fine till about 1 or 2 weeks ago, and now it does nothing, not even a hard coded value works. Perhaps the referrer URL pickup is broken?
When I try to save an HTML file (using the "save as" option in google chrome), it directs me to the image directory. Adding any rules doesn't seem to change this. Even if I disable all the rules that recognize images, it will still end up in the images directory.
Is this option supported? If so, how do I save html files in a specific location?
So I wanted to use this to organize my backups from a platform that's exports it's files as .pcio. (https://playingcards.io/)
Those files are in fact .zip files renamed but I would really appreciate that they keep the same type for sharing the files as also for compatibility with other backups
file name repeat do not save support?
That would be better than exporting them manually. The settings of a lot of extensions, this one included, tend to reset after some browser updates so I export the save file after each change I make. That's sort of annoying. I'd rather have it auto-stored somewhere
What the title says. How can I use 1 rule and add 10 different domains in it?
Hi there,
We're finding that with certain PDFs on certain websites the downloaded file gets converted to TXT from PDF.
{ "enabled": true, "description": "EQ Training", "pattern": "Equinox/", "referrer": "training-equinox\.kilburnstrode\.com" },
Downloading item
{bytesReceived: 0, canResume: false, danger: "safe", exists: true, fileSize: 36162, …}
bytesReceived: 0
canResume: false
danger: "safe"
exists: true
fileSize: 36162
filename: "Application filed - receipt.pdf"
finalUrl: "https://training-equinox.kilburnstrode.com/products/equinox/action_request_file.php?matterid=635930&documentid=305664&downloadFirefox=0"
id: 139
incognito: false
mime: "text/plain"
paused: false
referrer: "https://training-equinox.kilburnstrode.com/products/equinox/matters/m_documents.php?id=635930"
startTime: "2021-01-29T09:11:44.767Z"
state: "in_progress"
totalBytes: 36162
url: "https://training-equinox.kilburnstrode.com/products/equinox/matters/m_documents.php?id=635930"
proto: Object
Downloading item
{bytesReceived: 0, canResume: false, danger: "safe", exists: true, fileSize: 886896, …}
bytesReceived: 0
canResume: false
danger: "safe"
exists: true
fileSize: 886896
filename: "Formal Drawings.PDF"
finalUrl: "https://training-equinox.kilburnstrode.com/products/equinox/action_request_file.php?matterid=635930&documentid=305724&downloadFirefox=0"
id: 138
incognito: false
mime: "application/octet-stream"
paused: false
referrer: "https://training-equinox.kilburnstrode.com/products/equinox/matters/m_documents.php?id=635930"
startTime: "2021-01-29T09:11:41.583Z"
state: "in_progress"
totalBytes: 886896
url: "https://training-equinox.kilburnstrode.com/products/equinox/matters/m_documents.php?id=635930"
proto: Object
</training\-equinox\.kilburnstrode\.com(?:\/products\/equinox\/action_request_file\.php\?\*)?/>
Do you have any ideas why this might be happening?
Thanks,
Jeff
How to prevent saving file if it exists? It just increments numbers for duplicates now, but I don't want duplicates at all.
I mean... this whole extension is useless for me if I am not able to choose "any" existing folder on my hard-drive.
is this a limitation of chrome or just something you @unintended decided on your own? ;)
thanks!
As per
http://www.iana.org/assignments/media-types/media-types.xhtml#audio
there is no entry for flac
I'm supposing that's why audio/.*
doesn't capture .flac
downloads?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.