xtekky / gpt4free

The official gpt4free repository | various collection of powerful language models
https://g4f.ai
GNU General Public License v3.0
61.18k stars 13.32k forks source link

you.com issue (HTML error attached to issue, check it out) #576

Closed enganese closed 1 year ago

enganese commented 1 year ago

Issue

- you.com issue.

Bug description

Just prompted you.com gpt and it returned error in html with text "Enable JavaScript and cookies to continue" and html includes tag with name "md" and looooong value (possibly, it's hash). Also, there is

tag with id "challenge-form".

Pseudo Stacktrace

**1. Use GPT of you.com in code,

  1. See error,**

Screenshots

No screenshots needed.

Environement

  • Python 3.10
  • Using 10 proxies (shuffling the list and choosing one out of them randomly everytime) (Germany - 9, Netherlands - 1).

Additional context

Full HTML will be attached as a comment to this Issue.

enganese commented 1 year ago
<!DOCTYPE html>
<html lang="en-US">
<head>
    <title>Just a moment...</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta name="robots" content="noindex,nofollow">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <link href="/cdn-cgi/styles/challenges.css" rel="stylesheet">

</head>
<body class="no-js">
    <div class="main-wrapper" role="main">
    <div class="main-content">
        <noscript>
            <div id="challenge-error-title">
                <div class="h2">
                    <span class="icon-wrapper">
                        <div class="heading-icon warning-icon"></div>
                    </span>
                    <span id="challenge-error-text">
                        Enable JavaScript and cookies to continue
                    </span>
                </div>
            </div>
        </noscript>
        <div id="trk_jschal_js" style="display:none;background-image:url('/cdn-cgi/images/trace/managed/nojs/transparent.gif?ray=7ca352b9ce540e30')"></div>
        <form id="challenge-form" action="/api/streamingSearch?q=You+must+reply+in+english+language.+Keep+in+mind%2C+your+name+is+Soter+and+you+are+assistant+to+help+user+with+questions+to+teach+him+some+new+knowledge+and+find+the+career%2Fprofession+that+suits+the+best+for+him%2C+but+do+not+mention+about+it+in+your+text.+Prompt%3A+%22hey%22&amp;page=1&amp;count=10&amp;safeSearch=Moderate&amp;onShoppingPage=False&amp;mkt=&amp;responseFilter=WebPages%2CTranslations%2CTimeZone%2CComputation%2CRelatedSearches&amp;domain=youchat&amp;queryTraceId=0d5f5c2a-703a-4a0f-bc12-83c9b6dcb1c1&amp;chat=%5B%5D&amp;__cf_chl_f_tk=O9.22O00af8EoFX92Tnl.2UPcVV0XhNL05uief0.udI-1684572532-0-gaNycGzNEaU" method="POST" enctype="application/x-www-form-urlencoded">
            <input type="hidden" name="md" value="TPHpVx37ilKzkXm_KYqMfujlvu3gJ6vojYqrmK58Pg4-1684572532-0-AadTB4iHBNrf7cequ5CS2ayK0QRIfDF_BRpBLRsjv62N6xK03e_jDB0aV3tcFqpc-pHf165MdeTis8GiNBq5BzxSgmiNN0VFZVg3B4vRuq8MVMACXzgkn1kRSO5N6icGNmGOj8HOhpclmpgzQdHloLECM23LcL8Ga-51T6pUKCkz6jDpSz6xTn0FdMTsiCCAiW71BTT0UGNlgi9Wk8RhZaIOKcXoQjvMT6wCD-v9m4FByrqY1T19SUL2Bp14mIXjg_igSw94SKRBWBHJhd1btjnSnGPlyg6RW0PPbiaGU-jeSlMZ4pReRlj9W00KCmb2af_8O1OW60Vxw-K0Ivu1vmXWCSO38zfYiKLNkqFMPYIxVqdrT5Fi8L6tDEfCwhjp9V4SW-pqgQ7kVUVxvHeiZVDQJiZsoJZqrY6muH4mr6GC6x-rhYy5pXE7fS9uNpMQYDaE_ygmgfwI84cOarabL8dFDfdo0lQWfV4JZ3EQB_0cAMBDBDDt3QLWLV4ebrI4-vlLN3JzYHVGaFO4hCmJwMuk92DCz5eIh_KtB8UqpbNbLn-UxLSU87bjy2oL4niz3fC92Cj85FaDlK7yq6WCtv43gpI3tRdMK8Tvf5GScxdyyFWie3tyRLqChdEF4JqJZo-hGFsvEy5FiPQbGzyx9aollhP_hI152L59jr905MrshxzPYAe1PNha6UxEcFg0umFrtHfU64lcfw4uXGGMfKms6f3oXG4DvdSWIOJnhK7YT_vP6pKNcOC50KwnYBTratXHk7gjM-TXY2-tZTB2LOPwEQfrKedo7DYlshJk6Mmm6rHhU_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YSsfmf57wNdnCPRN8_NFObKVNJXERKHipXgkr4NrT8CIRip97fkSkRcqKPkPNIt5TmG15yqGubqV909_-hZ7ZxkHrof4S9ur9O2SLGNYz0ghihalkGVJMQm-xm_z0pt5mYtLztqR-Sc16Rs63ZoGz3_PlWiQJ25smY-nMXOBlJGZODmaahKcgf22IQS2CTKOEmdMhoo-X8TycrWvJ_Adf4NgorZFIEqE8m2rkcJVHs7qJXWtm_ieOwBKc7LeE1TuHZp1V5OJv9Py6aEsdRET5t6WT0WYDZr_xkb7gB8ru5vTDU4rWVCMI428t-ef-_A3olEBdcDlUu46oQkOSvKn0Y7g5oZitc6MISWPxu21VywyQw8x-mGZ9YBF975eB3wwAEIQPvj9vEOtjowwWqSmaxbNxfp">
        </form>
    </div>
</div>
<script>
    (function(){
        window._cf_chl_opt={
            cvId: '2',
            cZone: 'you.com',
            cType: 'managed',
            cNounce: '44571',
            cRay: '7ca352b9ce540e30',
            cHash: '017ecb84b82c051',
            cUPMDTk: "\/api\/streamingSearch?q=You+must+reply+in+english+language.+Keep+in+mind%2C+your+name+is+Soter+and+you+are+assistant+to+help+user+with+questions+to+teach+him+some+new+knowledge+and+find+the+career%2Fprofession+that+suits+the+best+for+him%2C+but+do+not+mention+about+it+in+your+text.+Prompt%3A+%22hey%22&page=1&count=10&safeSearch=Moderate&onShoppingPage=False&mkt=&responseFilter=WebPages%2CTranslations%2CTimeZone%2CComputation%2CRelatedSearches&domain=youchat&queryTraceId=0d5f5c2a-703a-4a0f-bc12-83c9b6dcb1c1&chat=%5B%5D&__cf_chl_tk=O9.22O00af8EoFX92Tnl.2UPcVV0XhNL05uief0.udI-1684572532-0-gaNycGzNEaU",
            cFPWv: 'g',
            cTTimeMs: '1000',
            cMTimeMs: '0',
            cTplV: 5,
            cTplB: 'cf',
            cK: "",
            cRq: {
                ru: 'aHR0cHM6Ly95b3UuY29tL2FwaS9zdHJlYW1pbmdTZWFyY2g/cT1Zb3UrbXVzdCtyZXBseStpbitlbmdsaX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5GSUFRZg9xsQgV7jUUev/388jqbhFpJQJWmZoGy++J47ktBQVrpvUmSPcHaiDJnzinpH+fY8hd006ygV8SclLrW7Rzu8qqOmJxupRt5k99AjH0ClKKGzFFYB77bK5dKwffdnpNbvGLpHOPf1rpLo2RSRxd2BC7ktXGuIlPAxe/oSrcPrbnTTl3g1jn0xIY9LxnuLwSRpYNaNZ1JiPG6o2jr87kOoV5+1DA3l9gSs8V6YP6ChfmeHyONJWNlypCItCjDYbGi9z4FAoCsnskqJRlYC6cdE6iT9e3EdSZ5MCN9p9ze8v01O0G1z3CVM2wXD1ivdkmeylJ6JXNYqkEZYip0Yi6lqtzniF1gLp5C3wcZ8QPbYD0z8jVGZi4j/hp/DxVz5uYB442e',
                t: 'MTY4NDU3MjUzMi43NjQwMDA=',
                m: 'tovZ9s+2rwzwZunLYnbDABSrINT9tIvyzv6xyhTsCKc=',
                i1: 'GwlfuKiAsyzSxJEYCkVBlw==',
                i2: 'GpO4sGrzAkvQjHVjG0mR7A==',
                zh: 'BU21EkXYP+I6NEpAg17QVB4TEcOw1l6tGo/69Ra4gqc=',
                uh: 'twnO7N7ZAGaakao5xcH5SGyFuT1fzD1lLCsbiq2SeV0=',
                hh: 'cNfrIzsKSTr4mqRDNa0YE7odWG0r8ob93axg8HGA798=',
            }
        };
        var trkjs = document.createElement('img');
        trkjs.setAttribute('src', '/cdn-cgi/images/trace/managed/js/transparent.gif?ray=7ca352b9ce540e30');
        trkjs.setAttribute('alt', '');
        trkjs.setAttribute('style', 'display: none');
        document.body.appendChild(trkjs);
        var cpo = document.createElement('script');
        cpo.src = '/cdn-cgi/challenge-platform/h/g/orchestrate/managed/v1?ray=7ca352b9ce540e30';
        window._cf_chl_opt.cOgUHash = location.hash === '' && location.href.indexOf('#') !== -1 ? '#' : location.hash;
        window._cf_chl_opt.cOgUQuery = location.search === '' && location.href.slice(0, location.href.length - window._cf_chl_opt.cOgUHash.length).indexOf('?') !== -1 ? '?' : location.search;
        if (window.history && window.history.replaceState) {
            var ogU = location.pathname + window._cf_chl_opt.cOgUQuery + window._cf_chl_opt.cOgUHash;
            history.replaceState(null, null, "\/api\/streamingSearch?q=You+must+reply+in+english+language.+Keep+in+mind%2C+your+name+is+Soter+and+you+are+assistant+to+help+user+with+questions+to+teach+him+some+new+knowledge+and+find+the+career%2Fprofession+that+suits+the+best+for+him%2C+but+do+not+mention+about+it+in+your+text.+Prompt%3A+%22hey%22&page=1&count=10&safeSearch=Moderate&onShoppingPage=False&mkt=&responseFilter=WebPages%2CTranslations%2CTimeZone%2CComputation%2CRelatedSearches&domain=youchat&queryTraceId=0d5f5c2a-703a-4a0f-bc12-83c9b6dcb1c1&chat=%5B%5D&__cf_chl_rt_tk=O9.22O00af8EoFX92Tnl.2UPcVV0XhNL05uief0.udI-1684572532-0-gaNycGzNEaU" + window._cf_chl_opt.cOgUHash);
            cpo.onload = function() {
                history.replaceState(null, null, ogU);
            };
        }
        document.getElementsByTagName('head')[0].appendChild(cpo);
    }());
</script>
</body>
</html>