If I understand correctly your question, you want to use google earth as a map/tile provider. Long long time ago in a galaxy far away, there used to be some years ago this crazy Russian hacker (in the good sense) that had created code to get tiles, however this was not exactly legal, and i am not sure if it is maintained.
If you want to use Google, you should have to go through their APIs (unless there is a solution involving caching in a limited space, e.g. like this?) and should use some google API earth-engine, maps, ...? (I am a bit rusty on the current satus)
Be also aware that what they provide changes over time and is not / will not be always free.
For alternatives, which are free and open, this might be helpful for maps (also google open street maps).