The US-mainstream-corporatist media always say the following:
Turkey views the YPG as an extension of the Kurdistan Workers' Party (PKK), which has waged a 34-year insurgency in Turkey ....
It's a broken record. They leave out the details that matter. They do that on purpose because, even though they don't like Erdogan, they hate the economic ideology of the PKK even more. Here's what they don't tell you. That's only scratching the surface too. The PKK went so far as to renounce violence at the top. In addition, Erdogan attacked the Kurds over and over and did so ruthlessly. It was terrible but wasn't even covered by the US media. Erdogan wiped out whole villages, but the US media acted like it wasn't even happening.