Commit Graph

12 Commits

Author SHA1 Message Date
f00e8f4a9e Correct in README.md a typo in the previous repository name 2023-05-02 21:57:53 +02:00
ead3fef5b3
Add goToAudioLibraryAndSelect100RowsPerPage function to keep rows per page setting even after round-tripping chrome://downloads 2023-02-20 14:19:16 +01:00
9d12e9cbe3
Add media export support for duplicates 2023-02-04 19:45:30 +01:00
5540098e96
Make the media download work up to 100 results or duplicates
The `MAXIMAL_NUMBER_OF_RESULTS` constant was computed thanks to:

```py
import os, json

path = '/home/benjamin/Desktop/bens_folder/dev/yt/audio_library'

os.chdir(path)

with open('sound_effects.json') as json_file:
    tracks = json.load(json_file)

mostResults = 0
mostResultsTitle = None

for track in tracks:
    title = track['title']
    results = 0
    for otherTrack in tracks:
        if title in otherTrack['title']:
            results += 1
    if results > mostResults:
        mostResults = results
        mostResultsTitle = title

print(mostResults, mostResultsTitle)
```
2023-02-04 19:12:54 +01:00
4f7e9ac336
Move from Firefox to Chromium to be able to retrieve download URL
Thanks to `chrome://downloads`.
2023-02-04 19:08:02 +01:00
73a8d77a32
Precise different possibilities in media_files_extractor.py to manage duplicates 2023-02-04 16:14:49 +01:00
a327e8fdb2
Remove previous code from media_files_extractor.py 2023-02-04 14:23:18 +01:00
176b057edb
Move the comment concerning not using deprecated Selenium feature to #1 2023-02-04 14:21:54 +01:00
c73b0e0f5d
Add media_files_extractor.py 2023-02-04 14:18:26 +01:00
2624ab5ef2
Add {music, sound_effects}.json 2023-02-04 14:15:10 +01:00
ae4a511a7e
Add metadata_extracter.py 2023-02-04 14:13:29 +01:00
525b098d5e
Add README.md 2023-02-04 14:08:01 +01:00