aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-05-25 13:58:02 -0500
committerJesús <heckyel@hyperbola.info>2019-05-25 13:58:02 -0500
commita95b901045aef0ea7337f9ed2fa5d75edb486f85 (patch)
treee3a0d2de4eafc98c79895290b89a25ebf6d9ee8b
parentdd6d9181ab43817ff9cefe4efbf3d666a4a1ec29 (diff)
downloadytlibre-a95b901045aef0ea7337f9ed2fa5d75edb486f85.tar.lz
ytlibre-a95b901045aef0ea7337f9ed2fa5d75edb486f85.tar.xz
ytlibre-a95b901045aef0ea7337f9ed2fa5d75edb486f85.zip
improve comments
-rw-r--r--tools/init.php2
-rw-r--r--tools/processor.php5
2 files changed, 3 insertions, 4 deletions
diff --git a/tools/init.php b/tools/init.php
index baf3d9a..deb20e5 100644
--- a/tools/init.php
+++ b/tools/init.php
@@ -38,7 +38,7 @@ function video_exists($url) {
@$headers = get_headers($url);
foreach ($headers as $hdr) {
if (preg_match('/^HTTP\/\d\.\d\s+(403)/', $hdr)){
- $result = TRUE;
+ $result = TRUE; // Found 403 Error
}
}
if ( $result = TRUE ) {
diff --git a/tools/processor.php b/tools/processor.php
index efcacdb..005396d 100644
--- a/tools/processor.php
+++ b/tools/processor.php
@@ -58,8 +58,7 @@ $streamFormats = $video_info->formatStreams;
// Downloads
$downloads = $video_info->formatStreams;
-/* Breaking DRM!!! */
-
+///// Beaking DRM!!!
// Check standar video into URL
$url_standar = video_exists($streamFormats[0]->url);
// format video DRM
@@ -105,7 +104,7 @@ EOT;
$breaklink = '';
$breakdownload = '';
}
-/* End Breaking DRM!!! */
+///// End Beaking DRM!!!
// // Captions
// $streamCaptions = $video_info->captions;