mirror of https://github.com/yt-dlp/yt-dlp
[utils] Multiple changes to base_n()
1. Renamed to encode_base_n() 2. Allow tables longer than 62 characters 3. Raise ValueError instead of AssertionError for invalid input data 4. Return the first character in the table instead of '0' for number 0 5. Add testspull/8/head
parent
5633b4d39d
commit
5eb6bdced4
Loading…
Reference in New Issue