<commit_before><?php
namespace AudioDidact\SupportedSites;
use AudioDidact\PodTube;
use AudioDidact\Video;

class SoundCloud extends SupportedSite{
	// Setup global variables
	private $streams_base_url = "https://api.soundcloud.com/tracks/XYZ/streams?client_id=fDoItMDbsbZz8dY16ZzARCZmzgHBPotA";
	private $thumbnail_url;
	private $audioJSON;

	/**
	 * SoundCloud constructor. Gets the audio information, checks for it in the user's feed.
	 *
	 * @param string $str
	 * @param boolean $isVideo
	 * @param PodTube $podtube
	 * @throws \Exception
	 */
	public function __construct($str, $isVideo, PodTube $podtube){
		parent::$podtube = $podtube;
		$this->video = new Video();

		// If there is a URL/ID, continue
		if($str != null){
			$this->video->setURL($str);
			$this->video->setIsVideo(false);

			// Set video ID and time to current time
			$info = $this->getVideoInfo($str);
			$this->video->setId($info["ID"]);
			$this->video->setFilename($this->video->getId());
			$this->video->setThumbnailFilename($this->video->getFilename().".jpg");<commit_msg>update client_id for soundcloud download<commit_after><?php
namespace AudioDidact\SupportedSites;
use AudioDidact\PodTube;
use AudioDidact\Video;

class SoundCloud extends SupportedSite{
	// Setup global variables
	private $streams_base_url = "https://api.soundcloud.com/tracks/XYZ/streams?client_id=2t9loNQH90kzJcsFCODdigxfp325aq4z";
	private $thumbnail_url;
	private $audioJSON;

	/**
	 * SoundCloud constructor. Gets the audio information, checks for it in the user's feed.
	 *
	 * @param string $str
	 * @param boolean $isVideo
	 * @param PodTube $podtube
	 * @throws \Exception
	 */
	public function __construct($str, $isVideo, PodTube $podtube){
		parent::$podtube = $podtube;
		$this->video = new Video();

		// If there is a URL/ID, continue
		if($str != null){
			$this->video->setURL($str);
			$this->video->setIsVideo(false);

			// Set video ID and time to current time
			$info = $this->getVideoInfo($str);
			$this->video->setId($info["ID"]);
			$this->video->setFilename($this->video->getId());
			$this->video->setThumbnailFilename($this->video->getFilename().".jpg");
{'fraction_non_alphanumeric': 0.15133115366651098, 'fraction_numerical': 0.005137786081270434, 'mean_word_length': 4.651715039577836, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 35, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7123095', 'n_tokens_mistral': 775, 'n_tokens_neox': 704, 'n_words': 161}