Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request to disable downloads directory #7

Closed
balupton opened this issue Oct 23, 2021 · 3 comments
Closed

request to disable downloads directory #7

balupton opened this issue Oct 23, 2021 · 3 comments

Comments

@balupton
Copy link
Contributor

> magnetfinder -aq 'big buck bunny'
Error getting downloads directory, falling back to home directory

I want to use this programatically to grab magnet links for specfic matches

@xel86
Copy link
Owner

xel86 commented Oct 23, 2021

I've removed the println!() for telling you if it is falling back to the home directory. Rethinking it, it probably doesn't serve much purpose since your home directory is the first place you'll check anyways if you don't have a downloads folder and didn't specify a directory path. Fixed in this commit 597c9ba

@xel86 xel86 closed this as completed Oct 23, 2021
@balupton
Copy link
Contributor Author

balupton commented Oct 23, 2021

still getting this...

> magnetfinder --no-interactive --show 5 -aq 'big buck bunny'
Error getting downloads directory, falling back to home directory
big-buck-bunny-NTSC.iso	magnet:?xt=urn:btih:FC84B941DC640BE59C90D7AB58819D50EDCFF906&dn=big-buck-bunny-NTSC.iso
Big Buck Bunny 480p (x264, he-aac)	magnet:?xt=urn:btih:05D51D7153228E08D94F850E5D2CE0A9E764752E&dn=Big+Buck+Bunny+480p+%28x264%2C+he-aac%29
Big Buck Bunny (Peach): 720p Stereo OGG Theora version	magnet:?xt=urn:btih:EE1BB44F0FD3FB1BE4CECB32FF9AA2242F7B1497&dn=Big+Buck+Bunny+%28Peach%29%3A+720p+Stereo+OGG+Theora+version
Big Buck Bunny soundtracks - Stereo Extended mp3 (MP3 Surround)	magnet:?xt=urn:btih:C6C0AD46F72E903FA83B68B494F353BEF0277A79&dn=Big+Buck+Bunny+soundtracks+-+Stereo+Extended+mp3+%28MP3+Surround%29
Big.Buck.Bunny.2008.DVDRip.XviD.AC3.SHORT	magnet:?xt=urn:btih:D4BF35EBDCA1EC5CC4F044483632BDDEB0F0563D&dn=Big.Buck.Bunny.2008.DVDRip.XviD.AC3.SHORT

fortunately, 2> /dev/null fixes it

@xel86
Copy link
Owner

xel86 commented Oct 24, 2021

Sorry about that, forgot to remove an extra println!() somewhere else. Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants