|
@@ -34,7 +34,7 @@ struct Fixed_Array
|
|
|
}
|
|
|
};
|
|
|
|
|
|
-const size_t DEFAULT_STRING_BUFFER_CAPACITY = 20 * 1024;
|
|
|
+const size_t DEFAULT_STRING_BUFFER_CAPACITY = 20 * 1024 * 1024;
|
|
|
|
|
|
template <size_t Capacity = DEFAULT_STRING_BUFFER_CAPACITY>
|
|
|
struct String_Buffer
|
|
@@ -428,8 +428,8 @@ int main(void)
|
|
|
|
|
|
append_bttv_mapping(curl, "https://api.betterttv.net/2/emotes", mapping, &downloads);
|
|
|
append_bttv_mapping(curl, "https://api.betterttv.net/2/channels/tsoding", mapping, &downloads);
|
|
|
- // append_global_ffz_mapping(curl, mapping, &downloads);
|
|
|
- // append_room_ffz_mapping(curl, "https://api.frankerfacez.com/v1/room/tsoding", mapping, &downloads);
|
|
|
+ append_global_ffz_mapping(curl, mapping, &downloads);
|
|
|
+ append_room_ffz_mapping(curl, "https://api.frankerfacez.com/v1/room/tsoding", mapping, &downloads);
|
|
|
|
|
|
size_t transfers = 0;
|
|
|
for (transfers = 0; transfers < min(downloads.size, MAX_PARALLEL); ++transfers) {
|