I may have a solution for you. When I was in China some people helped me out with getting Google to work.
You should go to baidu search engine and search something like "hosts file 2017 july" or something like that. You have to replace your own hosts file with the one you'll download and you got Google and such for around a month before you need to download a new one in my experience.
I don't really remember the entire process of doing this, but you should be able to find a tutorial if you can read Chinese, unlike me :P