Read: “Can I use non-academic sources in my essay?” (The Critical Turkey): https://blogs.ed.ac.uk/criticalturkey/can-i-use-non-academic-sources-in-my-essay-the-dos-and-donts-of-straying-off-the-beaten-path/
Note: Your professor always has the final say on whether or not you can use non-academic sources for your coursework. If there is any doubt, always check with them first.