Commit fbe7dc1
Fix --download-material to accept list numbers (not just filenames)
The material list shows numbered rows (# column), but --download-material
only accepted filename substrings. Entering "18" searched for files
containing "18" in their name instead of selecting item #18.
Now tries the input as a 1-based list index first, falling back to
filename substring matching. This matches how --download-video already
works with numbers.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1956282 commit fbe7dc1
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1378 | 1378 | | |
1379 | 1379 | | |
1380 | 1380 | | |
1381 | | - | |
| 1381 | + | |
1382 | 1382 | | |
1383 | 1383 | | |
1384 | 1384 | | |
1385 | 1385 | | |
1386 | 1386 | | |
1387 | 1387 | | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
1388 | 1401 | | |
1389 | 1402 | | |
1390 | 1403 | | |
| |||
0 commit comments