Skip to content

Commit 05a634f

Browse files
author
llakssz
committed
reverting to alway try for h3 files, bump version
1 parent 461de1f commit 05a634f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

FunKiiU.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/python
22
# -*- coding: utf-8 -*-
3-
# FunKiiU 0.95.1
3+
# FunKiiU 2.0.2
44

55
from __future__ import unicode_literals, print_function
66

@@ -287,10 +287,9 @@ def process_title_id(title_id, title_key, name=None, output_dir=None, retry_coun
287287
if not download_file('{}/{}'.format(baseurl, c_id), outfname, retry_count, expected_size=expected_size):
288288
print('ERROR: Could not download content file... Skipping title')
289289
return
290-
if c_type == "2003":
291-
if not download_file('{}/{}.h3'.format(baseurl, c_id), outfnameh3, retry_count):
292-
print('ERROR: Could not download h3 file... Skipping title')
293-
return
290+
if not download_file('{}/{}.h3'.format(baseurl, c_id), outfnameh3, retry_count, ignore_404=True):
291+
print('ERROR: Could not download h3 file... Skipping title')
292+
return
294293

295294
print('\nTitle download complete\n')
296295

0 commit comments

Comments
 (0)