Building a "download this video or song" feature that pulls from a streaming platform or other source without that source's permission is a copyright violation regardless of how the technical download mechanism works.
Very common with "video downloader" utility apps built around a social platform or streaming service's content without any licensing arrangement.
"Your app enables the downloading of copyrighted audio or video content from third-party sources without permission, per guideline 5.2.3."