Most teachers would never let you grab any random internet source. We always had to get decent sources. Actual journal articles from our library’s JSTOR subscription would often be a hard requirement for a certain number of sources. Citing the text we used in class or other reference material we had access to as well. It was never free rein anything goes, unless that has changed.