pensivezero / damnvid

Automatically exported from code.google.com/p/damnvid
GNU General Public License v3.0
0 stars 0 forks source link

Cannot download public YouTube playlist #307

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Bug: Cannot download public YouTube playlist

Steps:
1. Add URL: http://www.youtube.com/playlist?list=PL710F1E0E093BB375
2. Use profile MP3 (audio only)
3. Let's go!
4. No videos were processed.

-- Auto-collected system information --
DamnVid version: 1.6
DamnVid mode: 32-bit
DamnVid arguments: (None)
Machine name: ED_LAP
Platform: Windows-Vista-6.1.7600 / Vista
Architecture: 32bit WindowsPE / Unknown machine type
-- End of auto-collected system information --

damnvid.log: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title></title>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="en-US">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta name="COPYRIGHT" content="Copyright 2010 Trend Micro">

<link rel="stylesheet" type="text/css" 
href="http://127.0.0.1:37848/WTP/css/main.css">
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" 
href="http://127.0.0.1:37848/WTP/css/ie7.css">
<![endif]-->

<script type="text/javascript">
//  -- [localization strings] ------ START ------
var STRINGS = {
    "lbl_title_bar"     : "Website Blocked by Trend Micro™ Titanium™ Internet Security 2012",
    "lbl_page_title"    : "Website Blocked by Trend Micro™ Titanium™ Internet Security 2012",

    "lbl_status_DANGEROUS"  : "Dangerous Page",
    "lbl_status_SUSPICIOUS" : "Suspicious Page",
    "lbl_status_UNTEST"     : "Unrated Page",

    "lbl_address"       : "Address: ",

    "lbl_desc_DANGEROUS"    : "Trend Micro has confirmed that this website can transmit malicious software or has been involved in online scams or fraud.",
    "lbl_desc_SUSPICIOUS"   : "This website might transmit malicious software or shows signs of involvement in online scams or fraud.",
    "lbl_desc_UNTEST"       : "Trend Micro has not yet tested this website and cannot warn you about any possible dangers it might contain.",

    "lbl_close_window_desc" : "Please close this page.",
    "lbl_handler_desc"  : "Still want to open this page, despite the risk?",
    "lbl_btn_close_window" : "Close This Window",
    "lbl_review"        : "Ask Trend Micro to review this site (if you consider it safe)",
    "lbl_add_approved_list" : "Don't block this again (add this to the list of approved sites)",
    "lbl_btn_view_anyway" : "Open Blocked Page",

    "lbl_copyright"     : "Copyright &copy; 1995-2011 Trend Micro Incorporated. All right reserved."
};
//  -- [localization strings] ------ END --------

var CONFIG = {
    "url_review" : "http://reclassify.wrs.trendmicro.com/submit-files/UserSubmit/WRSUserSubmit.cgi",
    "url_continue" : "http://127.0.0.1:37848/continue?TiCredToken=29902&Source=WTP",
    "param_url" : "URL=" + encodeURIComponent("http://pastehtml.com/upload/create?input_type=txt&amp;result=address"),
    "param_permanent" : "Permanent=1"
};

var wtpScore = parseInt("49");
var ratingType;

if (navigator.userAgent.toLowerCase().indexOf("firefox") != -1 && 
/^tmpx:\/\//.test(window.location.href)) {
    window.addEventListener("load", function() {
        var script = document.createElement("SCRIPT");
        script.src = "url_block.js";
        script.onload = init;
        document.body.parentNode.insertBefore(script, document.body);
    }, false);
}

function init() {

    if (window.fillInBlockingContent) {
        window.fillInBlockingContent();
    }

    // Firefox detecting
    if (navigator.userAgent.toLowerCase().indexOf("firefox") != -1 ||
        navigator.userAgent.toLowerCase().indexOf("chrome") != -1 ||
        navigator.userAgent.toLowerCase().indexOf("safari") != -1)  {
        document.getElementById("btn_close_window").style.display = "none";
    }
    else {
        document.getElementById("lbl_close_window_desc").style.display = "none";
    }

    var sbar = document.getElementById("lbl_status");

    if (wtpScore == 71) {
        ratingType = "UNTEST";
        sbar.className = sbar.className + " sign_warnning";
    } else if (wtpScore < 51) {
        ratingType = "DANGEROUS";
        sbar.className = sbar.className + " sign_dangerous";
    } else if (wtpScore < 81 && wtpScore > 50) {
        ratingType = "SUSPICIOUS";
        sbar.className = sbar.className + " sign_warnning";
    }
    localizePageContent(STRINGS);

    // active handler
    document.getElementById("btn_close_window").onmousedown = function() {
        document.getElementById("btn_close_window").className = document.getElementById("btn_close_window").className + " active";
    };

    document.getElementById("btn_close_window").onmouseup = function() {
        document.getElementById("btn_close_window").className = document.getElementById("btn_close_window").className.replace(/active/ig, "");
    };

    // close window
    document.getElementById("btn_close_window").onclick = function() {
        window.close();
        return false;
    };

    // open page anyway
    document.getElementById("btn_try_another").onclick = takeAction;

    document.getElementById("lbl_handler_desc").onclick = toggleExtraOptions;

    // block select
    document.onselectstart = function() { return false; };
}

function localizePageContent(strObj) {
    for (var idx in strObj) {
        if (idx == "lbl_title_bar") {
            document.title = strObj["lbl_title_bar"];
        } else if (idx.substr(0, 4) == "alt_") {
            insertString(idx, strObj[idx], "alt");
        } else if (idx.substr(0, 4) == "ttl_") {
            insertString(idx, strObj[idx], "title");
        } else if (idx.indexOf("lbl_status_") == 0) {
            insertString("lbl_status", strObj["lbl_status_" + ratingType]);
        } else if (idx.indexOf("lbl_desc_") == 0) {
            insertString("lbl_desc", strObj["lbl_desc_" + ratingType]);
        } else if (idx == "msg_for_submission") {
            break;
        } else {
            insertString(idx, strObj[idx]);
        }
    }
}

function insertString(elemID, strValue, attrName) {
    if (document.getElementById && document.getElementById(elemID)) {
        if (attrName === undefined) {
            document.getElementById(elemID).innerHTML = strValue;
        } else {
            document.getElementById(elemID).setAttribute(attrName, strValue);
        }
    }
}

function submitReview() {
    var formElem = document.getElementById("form_wtp");
    formElem.action = CONFIG["url_review"];
    formElem.target = "iframe_wtp";
    formElem.submit();
    return true;
}

function takeAction() {
    var requestReview = document.getElementById("review").checked;
    var addApproved = document.getElementById("add_approved_list").checked;
    var actionUrl = CONFIG["url_continue"];

    if (requestReview) {
        submitReview();
    }

    actionUrl += "&" + CONFIG["param_url"];
    if (addApproved) {
        actionUrl += "&" + CONFIG["param_permanent"]
    }

    document.location = actionUrl;
    return false;
}

function toggleExtraOptions () {

    if (document.getElementById("more_actions").style.display == "none") {
        document.getElementById("more_actions").style.display = "block";
        document.getElementById("handler").className = document.getElementById("handler").className.replace(/ico_collapse/ig, "ico_expand");
    } else {
        document.getElementById("more_actions").style.display = "none";
        document.getElementById("handler").className = document.getElementById("handler").className.replace(/ico_expand/ig, "ico_collapse");
    }

    return false;
}
</script>
<base href="file://C:\Program Files\Trend 
Micro\AMSP\Module\20004\2.0.1313\6.8.1078\"></head>

<body id="blocking_wtp" onload="init()">
    <div class="wrapper">

        <div class="header">
            <h1 class="page_header" id="lbl_page_title"></h1>
        </div>

        <div class="content">
            <h2 class="status_title" id="lbl_status"></h2>
            <div class="container round_corner_box">
                <span class="top_left"><span class="top"></span><span class="top_right"></span></span>
                <span class="bottom_left"><span class="bottom"></span><span class="bottom_right"></span></span>
                <div class="info_box">
                    <dl class="detail_info">
                        <dt class="label" id="lbl_address"></dt>
                        <dd class="value" id="address">http://pastehtml.com/upload/create?input_type=txt&amp;result=address</dd>
                    </dl>
                    <p class="desc short_desc" id="lbl_desc"></p>

                    <p class="desc clear">
                        <a href="#" id="btn_close_window" class="button btn_black"><span class="bl"></span><span class="bm" id="lbl_btn_close_window"></span><span class="br"></span></a>
                    </p>

                    <p class="desc ff_warning" id="lbl_close_window_desc"></p>

                    <hr class="dotted_hr">

                    <p id="handler" class="handler ico_collapse"><a href="" id="lbl_handler_desc"></a></p>
                    <ul id="more_actions" class="more_actions" style="display: none;">
                        <li class="content clear"><a href="#" id="btn_try_another" class="button btn_gray"><span class="bl"></span><span class="bm" id="lbl_btn_view_anyway"></span><span class="br"></span></a></li>
                        <li class="content"><input type="checkbox" id="review" name="review"> <label for="review" id="lbl_review"></label></li>
                        <li class="content"><input type="checkbox" id="add_approved_list" name="add_approved_list"> <label for="add_approved_list" id="lbl_add_approved_list"></label></li>
                    </ul>
                </div>
            </div>
        </div>

        <div class="footer">
            <p class="copyright" id="lbl_copyright"></p>
        </div>

    </div>
    <form name="form_wtp" id="form_wtp" method="post">
        <input type="hidden" name="URL" value="http://pastehtml.com/upload/create?input_type=txt&amp;result=address"/>
        <input type="hidden" name="IsRedirect" value="no"/>
    </form>
    <iframe id="iframe_wtp" name="iframe_wtp" style="width: 0px; height: 0px; border: 0px;" src=""></iframe>
</body>
</html>

Original issue reported on code.google.com by damnvid....@gmail.com on 10 Sep 2012 at 5:38

GoogleCodeExporter commented 9 years ago
Sounds like Trend Micro "helpfully" censored pastehtml.com, so there is no log 
:(

Original comment by windypo...@gmail.com on 13 Sep 2012 at 6:19

GoogleCodeExporter commented 9 years ago
Should work now with youtube module 1.99

Original comment by windypo...@gmail.com on 23 Sep 2012 at 8:40