Commit Graph

154 Commits (0d8380939fb6ec7d7b63376758dcdf91b760fc12)

Author SHA1 Message Date
flyingrub f837df5fa7 Sanitize filename
reported by @sombikdesigala
2017-09-19 16:00:58 +02:00
flyingrub 960783345e Remove unused function 2017-09-19 15:50:56 +02:00
flyingrub 5bc90dd40f Fix offset for playlist
Cleanup offset handling
2017-09-19 15:50:51 +02:00
flyingrub 58460c2907 Fix offset when > 200 2017-09-19 14:37:26 +02:00
flyingrub cedf209aad Remove trailing whitespace 2017-09-19 14:18:10 +02:00
maxime.io 7bde7336d9 Set file timestamp to pubdate and save more id3 information (#213)
* Set file timestamp to pubdate and save more id3 information

Fix issue https://github.com/flyingrub/scdl/issues/166
Inspired from youtube-dl
Not tested on Windows but it work on OSX and probably on Unix based system.

* Update scdl.py

* Update scdl.py

* Update scdl.py

* Use use relative
2017-08-31 01:19:37 +02:00
maxime.io f1f277092a Download tracks that have been commented by user (https://github.com/flyingrub/scdl/issues/210) (#215) 2017-08-15 15:20:42 +02:00
gs dc76219902 Fixed application helptext (#214) 2017-08-15 14:06:55 +02:00
flyingrub 4ad044d2e3 Fix --addtofile with original download
fixes #212
2017-08-13 19:11:18 +02:00
redfast00 fc7c2769a2 Fixed issue with tagging files like MUSIC.MP3 (uppercase extension) (#206)
🎉 Thanks !
2017-07-19 20:47:50 +02:00
Vitor Araujo Boufleur 9e1fafdfac Add more info to the error message (#191)
A better way to do this is to treat each exception case.
2017-06-07 11:53:02 +02:00
Reid Pryzant 359daa8cbe spelling fix (#186)
* spelling fix

settags => settings

* Update scdl.py
2017-04-23 18:07:25 +02:00
flyingrub 692b74cc0b Fix rate limitation 2017-03-13 10:36:39 +01:00
flyingrub 820324db83 Fix download all playlist when an error happen 2017-03-08 11:05:23 +01:00
flyingrub 1914d68c31 Fix an error 2017-02-02 17:39:24 +01:00
tPenguinLTG 7d0193c4e4 Pass title to get_filename (#171)
title was unbound in get_filename as a result of an incomplete refactor.
Rebind by passing the title in.
2017-01-29 12:46:36 +01:00
flyingrub ae3cff24fa Try to fix newline with --error 2017-01-27 17:27:53 +01:00
flyingrub a108fe033f Improve filename handling 2017-01-27 17:01:31 +01:00
flyingrub 9d616e8997 Fix update 2016-12-24 16:49:51 +01:00
flyingrub 0612c57c95 Fix the download when there is no download left of the original file 2016-12-07 21:41:03 +01:00
flyingrub bf81d2337e [FIX] Token 2016-09-27 20:06:15 +02:00
flyingrub e862d2b2e0 [ADD] Support Auth Token
* Add Support for liked playlist
2016-09-27 17:42:13 +02:00
Dan Brown df3c091eb9 Use client_id better in URLs and download original properly
Before, the client_id was being added to the URL in an error-prone way.
This patch now uses requests to add it to the main request URL. Also,
the original download request is now being used properly where before it
was possible for the stream URL to be used.
2016-09-05 22:12:39 +01:00
flyingrub 3419acf082 [FIX] Access Token
New CLIENT_ID!
2016-08-27 16:37:16 +02:00
Ronan 8177ed0883 Merge pull request #145 from e2del/forked
Windows fix issues
2016-08-27 16:21:38 +02:00
Mads Sülau Valstorp Jørgensen f167dff33e [FEATURE] Added --min-size and --max-size options. 2016-07-20 13:03:08 +02:00
e2del 3484679002 fix windows special characters 2016-04-24 16:42:41 +00:00
e2del a117ff4d2e Windows charmap fix 2016-04-24 16:31:45 +02:00
flyingrub 922a36f922 [FIX] get item loop 2016-04-23 18:19:42 +02:00
flyingrub 251ec14bc9 [FIX] hide progress 2016-04-23 18:11:26 +02:00
flyingrub 1c7fc643a1 [FIX] Decode playlist name 2016-04-23 17:25:19 +02:00
flyingrub 451cdcafb0 [FIX] Remove soundcloud from our dependencies 2016-04-17 15:00:53 +02:00
flyingrub 61479bd745 [FIX] Unauthorized Download 2016-04-17 14:32:04 +02:00
flyingrub 248eca265c [FIX] Typo 2016-04-11 21:19:33 +02:00
Miika-Petteri Matikainen a07810de3c Fix downloading all track with '-a'
Variable 'name' is local to the function and it was overwritten
during the iteration which caused download of all repost tracks
after the first iteration to fail.

Fixes #130.
2016-04-10 18:04:13 +03:00
flyingrub d902c8e2af Remove soundcloud libs
NEED TESTING
2016-03-01 23:58:59 +01:00
flyingrub 1e8de9f72a Use tempfile 2016-03-01 23:14:01 +01:00
flyingrub 78d2f73331 Fix download 2016-03-01 22:27:47 +01:00
flyingrub 49a4f17b5a Fix auth_token 2016-02-29 18:11:24 +01:00
flyingrub a059810591 Fix quotes on original track 2016-02-29 17:25:59 +01:00
flyingrub c8c5ff0f28 Introduce: Use our own library instead of Soundcloud 2016-02-13 18:14:30 +01:00
flyingrub c3d87d272c Fix Pep8 warnings 2016-02-08 14:32:59 +01:00
flyingrub 8cb62ff406 Fix: Playlist 2016-02-08 14:01:13 +01:00
flyingrub f54ab00bff Fixes 2016-02-08 02:35:51 +01:00
flyingrub 309d2daf6c Requests everywhere : Need testing 2016-02-08 02:13:06 +01:00
flyingrub e45bdfb402 Multiple Fixes 2016-02-08 01:08:51 +01:00
David Fischer 34378b5c6a Basic code cleanup (avoid hardcoding \n, use single quote string by convention, use with statement to handle files, ...) 2016-01-31 14:29:57 +01:00
David Fischer 6c3b91c9d9 Fix PEP-8 warnings 2016-01-31 14:15:45 +01:00
David Fischer 8c25993606 Use "pythonic" while something instead of while "still" something 2016-01-31 14:15:27 +01:00
Andreas Nüßlein 572a1fe492 Update scdl.py
Changed some typos
'If  the sound of the first letter is like Y then we use a, like a user,  because u in user is like y.  Otherwise, we use an, like an apple, an  orange...'
 -- https://www.quora.com/Is-it-an-user-or-a-user
2016-01-10 13:49:09 +01:00
flyingrub c71c4e8477 Fix Offset on playlist 2015-12-29 01:57:43 +01:00
flyingrub ecd65ac9fd Fix Album image on Android 2015-12-21 19:51:23 +01:00
kos 65847c8fc9 fix getting user tracks (-a option) 2015-12-21 19:50:15 +01:00
Justin Hurley f6544ad979 Generates m3u playlist files
Merge Conflicts resolved
2015-10-06 16:24:53 +02:00
flyingrub 0c73c24002 Rename tmux option & update readme 2015-08-25 03:38:00 +02:00
flyingrub 4f10341dc0 Update download all function 2015-08-25 03:19:28 +02:00
flyingrub 31562a3d79 Hide the wget progress bar option 2015-08-20 20:19:55 +02:00
flyingrub 89840bfa5b Ordered list 2015-08-20 20:11:32 +02:00
flyingrub 3f7fc89f1f Quick fix 2015-08-20 19:15:17 +02:00
flyingrub dc27bcfb57 Remove useless info 2015-06-28 22:24:38 +02:00
David Fischer fe153b8352 Improve wording 2015-05-22 18:33:56 +00:00
David Fischer 6163da4348 Set urllib log level to ERROR 2015-05-22 18:24:18 +00:00
David Fischer 6aaf578fac Remove import from __future__ 2015-05-16 12:39:34 +00:00
David Fischer fd33ca8524 Use string formatting to avoid tmp variables 2015-05-16 12:37:38 +00:00
David Fischer a06be61c74 Use the fact [] is a falsy value 2015-05-16 12:35:37 +00:00
David Fischer 9e130dc94c Use enumerate to count 2015-05-16 12:31:19 +00:00
David Fischer dfb1862a90 #61 Make code DRY 2015-05-14 08:03:47 +00:00
David Fischer d0bed21f7a #59 #60 #61 Add a subclass of SoundCloud client (get_all is the bounty) 2015-05-14 07:41:56 +00:00
David Fischer 0b15808e20 Use new string formatting 2015-05-14 07:41:56 +00:00
David Fischer ac35effc18 Use new string formatting 2015-05-14 07:41:56 +00:00
David Fischer 68ddca1d8d Cleanup imports 2015-05-14 07:41:56 +00:00
David Fischer 21311d7860 Add encoding header 2015-05-14 07:41:45 +00:00
David Fischer 5d464020c7 Embed ColorizeFilter from pytoolbox 2015-05-14 07:36:19 +00:00
David Fischer 021d1cc57f Remove useless lambda 2015-05-09 13:35:18 +00:00
David Fischer bacfe6de3f Replace custom logging by Python stdlib logging 2015-05-09 11:01:49 +00:00
flyingrub bf49de6ea3 Dumb fix 2015-04-28 16:13:34 +02:00
flyingrub 7753c2d79d Fix 2015-04-28 16:04:38 +02:00
flyingrub 1d9e5b0c1c New ClientID 2015-04-28 15:47:17 +02:00
flyingrub 07f7440a99 Update: loglevel 2015-04-21 12:32:25 +02:00
flyingrub e68118bc95 fix: 404 error
Thanks @Spotlight0xff
2015-04-21 12:32:18 +02:00
Zunayed Ali f504734535 minor grammar fix in the logging output 2015-04-21 12:31:38 +02:00
flyingrub 32b0e56a4c TEST: Windows unicode 2015-04-21 12:31:38 +02:00
flyingrub e307b9c38e Better Config Setup 2015-04-21 12:31:33 +02:00
flyingrub ce3091c2ad Fix: Small fixes 2015-04-21 12:30:58 +02:00
flyingrub 862ab534b9 Possible fix: windows encoding 2015-04-21 12:30:58 +02:00
flyingrub c2f807a16e Feature: Download only mp3 2015-04-21 12:30:58 +02:00
flyingrub b9c1db9372 Introduce the new Logging Function 2015-04-21 12:30:58 +02:00
mauricebasement cb9e63ab20 bugfix of windows cmd
The replacement of the longdash needs to take place before the first print argument using the title string, to fix the bug on windows command line interface.
2015-04-21 12:30:58 +02:00
flyingrub 527292b38e somefix 2015-04-21 12:30:58 +02:00
mauricebasement ce6076cf2e Update scdl.py
small fix, so favorites can be downloaded as well in the intended way.
2015-04-21 12:30:58 +02:00
flyingrub 301714fbda small update 2015-04-21 12:30:58 +02:00
Spotlight0xff 1ee4fcb590 small fix to check if no more tracks are found 2015-04-21 12:30:58 +02:00
flyingrub d11457a052 some fix 2015-04-21 12:30:58 +02:00
Adam Walsh 362fc19b82 Fixed misspelling in README.md 2015-04-21 12:30:34 +02:00
flyingrub b49b3cc8e5 possible fix: Random Could not resolve url 2015-04-21 12:29:49 +02:00
flyingrub d151cd37c8 fix: 1 error & 1 enhancement
* Custom path
* Error with Offset
2015-04-21 12:29:49 +02:00
flyingrub 1fc01baeee version bump 2015-04-21 12:29:45 +02:00
flyingrub ee0febc6ed fix tag when not an mp3 file 2015-04-21 12:28:49 +02:00
flyingrub 5d8c875b51 fix 2015-04-21 12:28:49 +02:00
flyingrub 5c7f0e9bf6 id3tag support 2015-04-21 12:28:49 +02:00