ArduinoJson.h
YoutubeApi.h
The ArduinoJson library is the 5.x version as the YouTubeApi doesn't support version 6.x
As some recommend on this (Not working anymore? · Issue #18 · witnessmenow/arduino-youtube-api · GitHub) they recommended adding client.setInsecure(); which after trying didn't seem to solve this issue.
One user says they added in BearSSL clinet, any ideas what that is? I supposedly found a BearSSL library though after trying to put it into Arduino it came back with no "Specified folder/zip file does not contain a valid library".
Arduino: 1.8.12 (Windows 10), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
Executable segment sizes:
IROM : 355260 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 26928 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs...)
DATA : 1284 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 1584 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 25272 ) - zeroed variables (global, static) in RAM/HEAP
Sketch uses 385056 bytes (36%) of program storage space. Maximum is 1044464 bytes.
Global variables use 28140 bytes (34%) of dynamic memory, leaving 53780 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.8
Serial port COM5
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: dc:4f:22:50:e7:c4
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 389216 bytes to 287054...
Writing at 0x00000000... (5 %)
Writing at 0x00004000... (11 %)
Writing at 0x00008000... (16 %)
Writing at 0x0000c000... (22 %)
Writing at 0x00010000... (27 %)
Writing at 0x00014000... (33 %)
Writing at 0x00018000... (38 %)
Writing at 0x0001c000... (44 %)
Writing at 0x00020000... (50 %)
Writing at 0x00024000... (55 %)
Writing at 0x00028000... (61 %)
Writing at 0x0002c000... (66 %)
Writing at 0x00030000... (72 %)
Writing at 0x00034000... (77 %)
Writing at 0x00038000... (83 %)
Writing at 0x0003c000... (88 %)
Writing at 0x00040000... (94 %)
Writing at 0x00044000... (100 %)
Wrote 389216 bytes (287054 compressed) at 0x00000000 in 25.6 seconds (effective 121.6 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Specified folder/zip file does not contain a valid library
Specified folder/zip file does not contain a valid library
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.