MarkusHackspacher
49bb08c8a3
fix E502 the backslash is redundant between brackets
2018-05-08 10:43:56 +02:00
MarkusHackspacher
11bf9e3ef8
fix E401 multiple imports on one line
2018-05-05 23:50:37 +02:00
Eric Le Lay
862792f80c
Merge pull request #426 from MarkusHackspacher/style22x-1
...
fix E221 multiple spaces before operator
2018-04-15 18:50:00 +02:00
Markus Hackspacher
b4ea1afb17
Merge branch 'master' into style22x-1
2018-03-27 21:50:04 +02:00
MarkusHackspacher
a1e7e1dcbe
fix E226 missing whitespace around arithmetic operator
2018-03-27 21:40:36 +02:00
Eric Le Lay
b9e82bd72a
Merge pull request #425 from MarkusHackspacher/style22x-2
...
fix E228 missing whitespace around modulo operator
2018-03-25 19:03:55 +02:00
Eric Le Lay
7b49de09fd
fix #399 Invalid URL for dts.podtrac.com
...
the path component of URLs may contain a few characters not listed in the default
'safe' parameter of urllib.parse.quote
2018-03-25 18:41:33 +02:00
MarkusHackspacher
52ddd60434
fix E228 missing whitespace around modulo operator
...
see issue https://github.com/gpodder/gpodder/issues/393
2018-03-18 01:00:02 +01:00
MarkusHackspacher
710d8735d4
fix E221 multiple spaces before operator
2018-03-18 00:47:54 +01:00
MarkusHackspacher
91e2ea9f85
Merge github.com:gpodder/gpodder into codestyle4
2018-02-17 08:09:53 +01:00
Eric Le Lay
33d4c10497
fix #404 gpo download command is broken
...
DownloadTask now needs to be in DOWNLOADING state to be run() directly
2018-02-15 21:13:13 +01:00
MarkusHackspacher
a90fa0b521
fix W391 blank line at end of file
2018-02-11 21:51:40 +01:00
MarkusHackspacher
0c18a43d13
fix E302 and E303, only blank line change
2018-02-11 00:22:00 +01:00
MarkusHackspacher
fcbaee227c
Fix W291 trailing whitespace
2018-02-01 07:59:22 +01:00
MarkusHackspacher
c1c841c08c
Fix W293 blank line contains whitespace
2018-01-30 14:04:28 +01:00
Thomas Perl
98ec45a712
Update copyright years (2018)
2018-01-28 19:39:53 +01:00
Thomas Perl
7b46a0ee72
Update copyright years (2017)
2017-12-16 13:54:59 +01:00
Adam Voss
64fbfdf237
Escape non-ASCII characters in the URL path section ( Fixes #232 )
2017-03-25 23:02:26 -05:00
Adam Voss
d2a9d58524
Changes since Python3 does floating point division
...
This was done based on a manual search for the '/' character. No efforts were made to try to run all affected code paths.
2017-02-14 08:53:47 -06:00
Thomas Perl
5a7c30b359
Port to Python 3
2016-11-21 23:13:46 +01:00
Adam Voss
27dbe80782
Allow reordering of the download queue
2016-11-15 12:00:57 -06:00
Thomas Perl
36eefc8a30
Update copyright years (2016)
2016-01-15 15:22:52 +01:00
Thomas Perl
1665053907
Avoid spurious warnings for missing header
2016-01-15 15:16:21 +01:00
Thomas Perl
2fab3577e3
gpodder.download: Ignore non-ASCII content-disposition header (bug 2059)
2016-01-15 15:08:22 +01:00
Thomas Perl
aa72634950
Update copyright years (2015)
2015-05-24 19:33:39 +02:00
Thomas Perl
a9a3e51912
gpodder.download: Strip whitespace in url (bug 1991)
2015-02-27 23:43:17 +01:00
Thomas Perl
e215a5d5a3
Vimeo: Support for selecting file format (bug 1954)
2014-09-30 13:35:23 +02:00
somini
329c7b3eda
Added (incomplete) support for The Escapist
...
This adds incomplete support for video podcasts from The Escapist.
The Podcast is added, with cover art and all, but the episodes still don't show up to test
if it's possible to download.
2014-09-26 22:44:35 +01:00
Thomas Perl
553e35f219
Update copyright years (2014)
2014-02-27 21:55:13 +01:00
Thomas Perl
bda982be02
Update copyright years for 2013
2013-03-05 16:38:48 +01:00
Thomas Perl
f7313d98bb
Model: Various cleanups/simplifications
2012-12-28 18:31:39 +01:00
Thomas Perl
0733bfd248
Download: Avoid bogus error messages (bug 1731)
2012-12-27 16:26:50 +01:00
Thomas Perl
9e218bc3b5
YouTube: Cleanup the format selection patch
2012-10-23 13:41:40 +02:00
Chionsas
14ab2d0478
YouTube: Gtk UI for video quality selection (pull request 19)
...
1) Redid the youtube video format list (added fallbacks for each quality
setting) and added a new config key youtube.preferred_format_ids, that
accepts a list of supported quality ids.
2) Added a GUI setting switcher that lets a user pick between predefined
video quality settings and respects the 'custom' setting. 'Custom'
should currently only be used if the user prefers 3D formats or 3GP.
All other variants are in the normal settings with sane fallbacks.
Existing users will not feel any change (current fmt=18 default is
respected). Only the default fallback for get_real_download_url() was
changed (to 720p), but that will never be called unless the user clears
her youtube.preferred_fmt_id variable.
2012-10-23 13:41:31 +02:00
Thomas Perl
9e557bb4d4
Download: Rate-limiting for progress updates
2012-10-23 13:10:27 +02:00
Nikolaos Papagrigoriou
6ec076f114
Decode enclosure filename properly (bug 1663)
2012-09-14 21:36:46 +02:00
Thomas Perl
dc06483bbd
Threading: Use util.run_in_background to spawn threads
...
This makes it easier to check where threading is used
and will allow us to better handle creation of threads.
2012-07-10 13:52:34 +02:00
Thomas Perl
972c045ad9
Merged and cleaned-up the device sync code (bug 1579)
2012-07-09 21:17:13 +02:00
Joseph Wickremasinghe
5b949efba2
Updates as per Thomas' comments Jul 3rd 2012
2012-07-09 20:25:37 +02:00
Thomas Perl
b35e1c1987
Fix 'gPodderDownloadHTTPError' object has no attribute 'errcode'
2012-04-09 15:23:02 +02:00
Bernd Schlapsi
f73a1750c5
add work for the new extension system (bugs #1491 , #1500 , #1555 )
2012-02-20 21:37:20 +01:00
Jonas Kölker
481c27187b
Download: Auto-retry failed downloads (bug 1013)
2012-02-05 18:20:59 +01:00
Thomas Perl
ec427c5e0a
Gtk UI: Move markup logic out of gpodder.download
...
The formatting and escaping of Pango markup belongs
to the gpodder.gtkui module, and should not be a
concern of the gpodder.download module.
2012-01-21 09:55:11 +01:00
Thomas Perl
624282aea2
Fix various import statements (Py3k compat)
2012-01-19 11:26:44 +01:00
Thomas Perl
5411f3fc2f
Python 3: Initial support for Python 3 (CLI)
...
This changeset makes gPodder's codebase convertable
to Python 3 using the "2to3" utility. Right now, only
the CLI module (bin/gpo) has been tested.
See the README file for instructions and remarks.
2012-01-10 13:47:20 +01:00
Thomas Perl
5205a4b71d
Update copyright years (add 2012)
2012-01-09 21:19:24 +01:00
Thomas Perl
672e071843
Support for Vimeo video feeds (bug 1529)
...
This is closely modelled around the YouTube module.
In the future, we should probably remodel this to
use the extensions/hooks/plugins mechanism, and make
the interface for video services more generic.
2012-01-03 16:37:41 +01:00
Neal H. Walfield
bf1385d0c8
Enable hooks unconditionally
...
- Enable hooks unconditionally in core.py.
- Remove checks for whether 'gpodder.user_hooks' is None (it can't be).
2011-10-12 11:26:35 +02:00
Thomas Perl
346c582fea
Fix download filename with invalid headers (bug 1440)
2011-10-04 10:36:43 +02:00
Thomas Perl
69b38badb4
More cautious use of redirect URLs for YT and SC
...
For YouTube and Soundcloud feeds (among others), we try
to avoid renaming downloads even for HTTP redirects,
because the initial filename that we have is usually okay.
2011-09-18 22:04:33 +02:00