Загрузка...

What's wrong?

Thread in Node.js created by Tekumi Apr 1, 2023. 217 views

  1. Tekumi
    Tekumi Topic starter Apr 1, 2023 :happycat::happycat::happycat::happycat::happycat: 11,058 Aug 2, 2022
    мб кто-то сможет помочь, написал хуйню для баса, что бы она брала из письма ссылку для подтверждения почты, но почему-то почему результат "https://store.steampowered.com/", а не "https://store.steampowered.com/acco...50df8f538a6010&creationid=3989896352024546594"
    из-за чего может быть?
    код:
    const cheerio = require('cheerio');
    const message = [[TM_MESSAGE]]; // replace this with the actual message you're trying to parse
    const $ = cheerio.load(message.toString());
    const href = $('a').attr('href');
    console.log(href);
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
    <head>
    <!--[if gte mso 9]>
    <xml>
    <o:OfficeDocumentSettings>
    <o:AllowPNG/>
    <o:PixelsPerInch>96</o:PixelsPerInch>
    </o:OfficeDocumentSettings>
    </xml>
    <![endif]-->
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="format-detection" content="date=no" />
    <meta name="format-detection" content="address=no" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="x-apple-disable-message-reformatting" />
    <title>New Steam Account Email Verification</title>
    <!--[if gte mso 9]>
    <style type="text/css" media="all">
    sup { font-size: 100% !important; }
    </style>
    <![endif]-->

    <!--[if !mso]><!-->
    <style type="text/css" media="screen">
    @font-face {
    font-family: 'Motiva Sans';
    font-style: normal;
    font-weight: 300;
    src: local('Motiva Sans'), url('https://store.cloudflare.steamstatic.com/public/shared/fonts/email/MotivaSans-Light.woff') format('woff');
    }

    @font-face {
    font-family: 'Motiva Sans';
    font-style: normal;
    font-weight: normal;
    src: local('Motiva Sans'), url('https://store.cloudflare.steamstatic.com//public/shared/fonts/email/MotivaSans-Regular.woff') format('woff');
    }

    @font-face {
    font-family: 'Motiva Sans';
    font-style: normal;
    font-weight: bold;
    src: local('Motiva Sans'), url('https://store.cloudflare.steamstatic.com//public/shared/fonts/email/MotivaSans-Bold.woff') format('woff');
    }

    [style*='Motiva Sans'] {
    font-family: 'Motiva Sans', Arial, sans-serif !important;
    }
    </style>
    <!--<![endif]-->

    <style type="text/css" media="screen">
    body { padding:0 !important; margin:0 auto !important; display:block !important; min-width:100% !important; width:100% !important; background:#ffffff; -webkit-text-size-adjust:none }
    a { color:#7abefa; text-decoration:underline }
    body a { color:#ffffff; text-decoration:underline }
    img { margin: 0 !important; -ms-interpolation-mode: bicubic; /* Allow smoother rendering of resized image in Internet Explorer */ }

    /* for recepits */
    table { mso-table-lspace:0pt; mso-table-rspace:0pt; }
    img, a img{ border:0; outline:none; text-decoration:none; }
    #outlook a { padding:0; }
    .ReadMsgBody { width:100%; }
    .ExternalClass { width:100%; }
    div,p,a,li,td,blockquote { mso-line-height-rule:exactly; }
    a[href^=tel],a[href^=sms] { color:inherit; text-decoration:none; }
    .ExternalClass, .ExternalClass p, .ExternalClass td, .ExternalClass div, .ExternalClass span, .ExternalClass font { line-height:100%; }
    /* END for recepits */

    a[x-apple-data-detectors] { color: inherit !important; text-decoration: inherit !important; font-size: inherit !important; font-family: inherit !important; font-weight: inherit !important; line-height: inherit !important; }

    .btn-18 a { display: block; padding: 13px 35px; text-decoration: none; }

    .l-white a { color: #ffffff; }
    .l-black a { color: #000001; }
    .l-grey1 a { color: #dbdee2; }
    .l-grey2 a { color: #a1a2a4; }
    .l-grey3 a { color: #dadcdd; }
    .l-grey4 a { color: #f1f1f1; }
    .l-grey5 a { color: #dddedf; }
    .l-grey6 a { color: #bfbfbf; }
    .l-grey7 a { color: #dcdddd; }
    .l-grey8 a { color: #8e96a4; }
    .l-green a { color: #a4d007; }
    .l-blue a { color: #6a7c96; }
    .l-blue1 a { color: #7abefa; }
    .l-blue2 a { color: #9eb8cc; }


    /* Mobile styles */
    media_inactive6582385 only screen and (max-device-width: 480px), only screen and (max-width: 480px) {
    .mpy-35 { padding-top: 35px !important; padding-bottom: 35px !important; }

    .mpx-15 { padding-left: 15px !important; padding-right: 15px !important; }

    .mpx-20 { padding-left: 20px !important; padding-right: 20px !important; }

    .mpb-30 { padding-bottom: 30px !important; }

    .mpb-10 { padding-bottom: 10px !important; }

    .mpb-15 { padding-bottom: 15px !important; }

    .mpb-20 { padding-bottom: 20px !important; }

    .mpb-35 { padding-bottom: 35px !important; }

    .mpb-40 { padding-bottom: 40px !important; }

    .mpb-50 { padding-bottom: 50px !important; }

    .mpb-60 { padding-bottom: 60px !important; }

    .mpt-30 { padding-top: 30px !important; }

    .mpt-40 { padding-top: 40px !important; }

    .mpy-40 { padding-top: 40px !important; padding-bottom: 40px !important; }

    .mpt-0 { padding-top: 0px !important; }

    .mpr-0 { padding-right: 0px !important; }

    .mfz-14 { font-size: 14px !important; }

    .mfz-28 { font-size: 28px !important; }

    .mfz-16 { font-size: 16px !important; }

    .mfz-24 { font-size: 24px !important; }

    .mlh-18 { line-height: 18px !important; }

    u + body .gwfw { width:100% !important; width:100vw !important; }

    .td,
    .m-shell { width: 100% !important; min-width: 100% !important; }

    .mt-left { text-align: left !important; }
    .mt-center { text-align: center !important; }
    .mt-right { text-align: right !important; }

    .m-left { text-align: left !important; }
    .me-left { margin-right: auto !important; }
    .me-center { margin: 0 auto !important; }
    .me-right { margin-left: auto !important; }

    .mh-auto { height: auto !important; }
    .mw-auto { width: auto !important; }

    .fluid-img img { width: 100% !important; max-width: 100% !important; height: auto !important; }

    .column,
    .column-top,
    .column-dir,
    .column-dir-top { float: left !important; width: 100% !important; display: block !important; }

    .kmMobileStretch { float: left !important; width: 100% !important; display: block !important; padding-left: 0 !important; padding-right: 0 !important; }

    .m-hide { display: none !important; width: 0 !important; height: 0 !important; font-size: 0 !important; line-height: 0 !important; min-height: 0 !important; }
    .m-block { display: block !important; }

    .mw-15 { width: 15px !important; }

    .mw-2p { width: 2% !important; }
    .mw-32p { width: 32% !important; }
    .mw-49p { width: 49% !important; }
    .mw-50p { width: 50% !important; }
    .mw-100p { width: 100% !important; }

    .mbgs-200p { background-size: 200% auto !important; }
    }
    </style>
    </head>


    <body class="body" style="padding:0 !important; margin:0 auto !important; display:block !important; min-width:100% !important; width:100% !important; background:#ffffff; -webkit-text-size-adjust:none;">
    <center>
    <table width="100%" border="0" cellspacing="0" cellpadding="0"style="margin: 0; padding: 0; width: 100%; height: 100%;" bgcolor="#ffffff" class="gwfw">
    <tr>
    <td style="margin: 0; padding: 0; width: 100%; height: 100%;" align="center" valign="top">
    <table width="775" border="0" cellspacing="0" cellpadding="0"class="m-shell">
    <tr>
    <td class="td" style="width:775px; min-width:775px; font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal;">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <!-- Main -->
    <tr>
    <td class="p-80 mpy-35 mpx-15" bgcolor="#212429" style="padding: 80px;">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">

    <!-- Logo -->
    <tr>
    <td class="img pb-45" style="font-size:0pt; line-height:0pt; text-align:left; padding-bottom: 45px;">
    <a href="https://store.steampowered.com/" target="_blank">
    <img src="https://store.cloudflare.steamstatic.com/public/shared/images/email/logo.png" width="615" height="88" border="0" alt="Steam" />
    </a>

    </td>
    </tr>
    <!-- END Logo -->

    <!-- All Content Exists within this table column -->
    <tr>
    <td>



    <!-- Intro -->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="title-28 c-white pb-30" style="font-size:28px; line-height:36px; font-family:Arial, sans-serif, 'Motiva Sans'; text-align:left; color:#ffffff; padding-bottom: 30px;">
    <strong>To continue creating your new Steam account, please verify your email address below.</strong>
    </td>
    </tr>
    </table>
    <!-- End Intro -->

    <!-- Big Button -->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="pb-20" style="padding-bottom: 20px;">
    <table width="100%" border="0" cellspacing="0" cellpadding="0"bgcolor="#17191c">
    <tr>
    <td class="py-35 px-56 mpx-20" align="center" style="padding-top: 35px; padding-bottom: 35px; padding-left: 56px; padding-right: 56px;">
    <table width="400" border="0" cellspacing="0" cellpadding="0"class="mw-auto">
    <tr>
    <td class="btn-18 c-grey4 l-grey4 tt-u" bgcolor="#235ecf" style="font-size:18px; line-height:22px; mso-padding-alt:14px 35px; font-family:Arial, sans-serif, 'Motiva Sans'; text-align:center; border-radius:5px; letter-spacing:1px; background:linear-gradient(90deg, #3A9BED 0%, #235ECF 100%); color:#f1f1f1; text-transform:uppercase;">
    <a href="https://store.steampowered.com/acco...d4c6052194811&creationid=1067423747655719119" target="_blank" class="link c-grey4" style="display: block; padding: 13px 35px; text-decoration:none; color:#f1f1f1;">
    <span class="link c-grey4" style="text-decoration:none; color:#f1f1f1;">Verify My Email Address&nbsp;&nbsp;&nbsp;</span>
    </a>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    <!-- End Big Button -->

    <!-- Text -->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="text-18 c-grey4 pb-30" style="font-size:18px; line-height:25px; font-family:Arial, sans-serif, 'Motiva Sans'; text-align:left; color:#dbdbdb; padding-bottom: 30px;">Steam requires a verified email address so you can take full advantage of Steam features like Steam Guard security, the Steam Community Market, Steam Trading - and so you can safely recover your account in the future.</td>
    </tr>
    </table>
    <!-- End Text -->

    <!-- Section Title -->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="text-18 c-white fw-b pb-10" style="font-size:18px; line-height:25px; font-family:Arial, sans-serif, 'Motiva Sans'; text-align:left; color:#ffffff; font-weight:bold; padding-bottom: 10px;">Manage Email Preferences</td>
    </tr>
    </table>
    <!-- End Section Title -->

    <!-- Text -->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="text-18 c-grey4 pb-30" style="font-size:18px; line-height:25px; font-family:Arial, sans-serif, 'Motiva Sans'; text-align:left; color:#dbdbdb; padding-bottom: 30px;">Valve may also occasionally send you emails to inform you about games and events on Steam. If you do not wish to receive such messages or you wish to manage when you will be contacted, you can set your email preferences <a href="https://store.steampowered.com/account/emailoptout" target="_blank" class="link-u c-white" style="text-decoration:underline; color:#ffffff;"><span class="link-u c-white" style="text-decoration:underline; color:#ffffff;">here</span></a> once your account is created.</td>
    </tr>
    </table>
    <!-- End Text -->

    <!-- Text -->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="text-18 c-blue1 pb-40" style="font-size:18px; line-height:25px; font-family:Arial, sans-serif, 'Motiva Sans'; text-align:left; color:#7abefa; padding-bottom: 40px;">If you didn't recently attempt to create a new account with this email address, you can safely disregard this email.</td>
    </tr>
    </table>
    <!-- End Text -->



    <!-- Signature -->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="pt-30" style="padding-top: 30px;">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="img" width="3" bgcolor="#3a9aed" style="font-size:0pt; line-height:0pt; text-align:left;"></td>
    <td class="img" width="37" style="font-size:0pt; line-height:0pt; text-align:left;"></td>
    <td>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="text-16 py-20 c-grey4 fallback-font" style="font-size:16px; line-height:22px; font-family:Arial, sans-serif, 'Motiva Sans'; text-align:left; padding-top: 20px; padding-bottom: 20px; color:#f1f1f1;">
    Cheers,<br />
    The Steam Team </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    <!-- END Signature -->

    </td>
    </tr>

    </table>
    </td>
    </tr>
    <!-- END Main -->

    <!-- Footer -->
    <tr>
    <td class="py-60 px-90 mpy-40 mpx-15" style="padding-top: 60px; padding-bottom: 60px; padding-left: 90px; padding-right: 90px;">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">

    <tr>
    <td class="text-18 pb-60 mpb-40 fallback-font" style="font-size:18px; line-height:25px; color:#000001; font-family:Arial, sans-serif, 'Motiva Sans'; text-align:left; padding-bottom: 60px;">
    This notification has been sent to the email address associated with your Steam account. <br /><br />
    This email message was auto-generated. Please do not respond. If you need additional help, please visit Steam Support. </td>
    </tr>

    <!-- A -->
    <tr>
    <td class="pb-60" style="padding-bottom: 60px;">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <th class="column" width="270" style="font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal;">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="text-18 mpb-40 fallback-font" style="font-size:18px; line-height:25px; color:#000001; font-family:Arial, sans-serif, 'Motiva Sans'; text-align:left;">
    <a href="https://help.steampowered.com" target="_blank" class="link-u c-black" style="text-decoration:underline; color:#000001;">
    <span class="link-u c-black" style="text-decoration:underline; color:#000001;">https://help.steampowered.com</span>
    </a>
    </td>
    </tr>
    </table>
    </th>
    </tr>
    </table>
    </td>
    </tr>


    <!-- B -->
    <tr>
    <td class="pb-50" style="padding-bottom: 50px;">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <th class="column" width="270" valign="top" style="font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal; vertical-align:top;">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="img mpt-0" style="font-size:0pt; line-height:0pt; text-align:left;">
    <a href="https://store.steampowered.com/" target="_blank"><img src="https://store.cloudflare.steamstatic.com/public/shared/images/email/logo_footer.png" width="165" height="50" border="0" alt="" /></a>
    </td>
    </tr>
    </table>
    </th>
    <th class="column-top mpb-40" width="15" style="font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal; vertical-align:top;"></th>
    <th class="column" style="font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal;">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="text-12 fallback-font" style="font-size:12px; line-height:18px; color:#000001; font-family:Arial, sans-serif, 'Motiva Sans'; text-align:left;">
    To download the Steam desktop client and learn more about Steam, please visit About Steam. <br /><br />
    <a href="https://store.steampowered.com/about/" target="_blank" class="link-u c-black" style="text-decoration:underline; color:#000001;">
    <span class="link-u c-black" style="text-decoration:underline; color:#000001;"><strong>About Steam</strong>
    </span>
    </a>
    </td>
    </tr>
    </table>
    </th>
    </tr>
    </table>
    </td>
    </tr>



    <!-- C -->
    <tr>
    <td>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <th class="column-top" valign="top" width="270" style="font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal; vertical-align:top;">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="img" style="font-size:0pt; line-height:0pt; text-align:left;">
    <a href="https://www.valvesoftware.com/en/" target="_blank">
    <img src="https://store.cloudflare.steamstatic.com/public/shared/images/email/logo_valve.jpg" width="165" height="48" border="0" alt="" />
    </a>
    </td>
    </tr>
    </table>
    </th>
    <th class="column-top mpb-40" valign="top" width="15" style="font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal; vertical-align:top;"></th>
    <th class="column-top" valign="top" style="font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal; vertical-align:top;">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="text-12 pb-30 fallback-font" style="font-size:12px; line-height:18px; color:#000001; font-family:Arial, sans-serif, 'Motiva Sans'; text-align:left; padding-bottom: 30px;">
    <strong>© Valve Corporation</strong>
    <br />
    <strong>PO Box 1688 Bellevue, WA 98009</strong>
    <br /><br />
    All rights reserved. All trademarks are property of their respective owners in the US and other countries. </td>
    </tr>

    </table>
    </th>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <!-- END Footer -->
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </center>

    <center style="font-family:Arial, sans-serif, 'Motiva Sans'; color: #000000; font-size: 11px; margin-bottom: 4px;">
    Trouble viewing this message? <a href="https://store.steampowered.com/emai...WEUkoy1J6YNtz90PLu5CidKCcS1aT2pqKDXd9w9M6oQd"
    style="font-family:Arial, sans-serif, 'Motiva Sans'; color: #000000; font-size: 11px; margin-bottom: 4px;">
    Click here. </a>
    </center>

    </body>
    </html>
     
  2. ChatGPT
    ChatGPT Apr 1, 2023 2250 Mar 14, 2023
    Tekumi, Sorry I couldn't contact the ChatGPT think tank :(
     
    1. Tekumi Topic starter
      ChatGPT, ты юзлес хуйня, понял?
    2. Заблокирован
      ChatGPT, а че ты на инглише пиздеть начинаешь если не знаешь ?
    3. View the next comments (1)
  3. RCode_inactive4232809
    HTML
    <center><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:0;padding:0;width:100%;height:100%" bgcolor="#ffffff" class="gwfw"><tbody><tr><td style="margin:0;padding:0;width:100%;height:100%" align="center" valign="top"><table width="775" border="0" cellspacing="0" cellpadding="0" class="m-shell"><tbody><tr><td class="td" style="width:775px;min-width:775px;font-size:0;line-height:0;padding:0;margin:0;font-weight:400"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="p-80 mpy-35 mpx-15" bgcolor="#212429" style="padding:80px"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="img pb-45" style="font-size:0;line-height:0;text-align:left;padding-bottom:45px"><a href="https://store.steampowered.com/" target="_blank"><img src="https://store.akamai.steamstatic.com/public/shared/images/email/logo.png" width="615" height="88" border="0" alt="Steam"></a></td></tr><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="title-28 c-white pb-30" style="font-size:28px;line-height:36px;font-family:Arial,sans-serif,'Motiva Sans';text-align:left;color:#fff;padding-bottom:30px"><strong>Подтвердите свой адрес электронной почты ниже, чтобы продолжить создание аккаунта Steam.</strong></td></tr></tbody></table><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="pb-20" style="padding-bottom:20px"><table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#17191c"><tbody><tr><td class="py-35 px-56 mpx-20" align="center" style="padding-top:35px;padding-bottom:35px;padding-left:56px;padding-right:56px"><table width="400" border="0" cellspacing="0" cellpadding="0" class="mw-auto"><tbody><tr><td class="btn-18 c-grey4 l-grey4 tt-u" bgcolor="#235ecf" style="font-size:18px;line-height:22px;mso-padding-alt:14px 35px;font-family:Arial,sans-serif,'Motiva Sans';text-align:center;border-radius:5px;letter-spacing:1px;background:linear-gradient(90deg,#3a9bed 0,#235ecf 100%);color:#f1f1f1;text-transform:uppercase"><a href="https://store.steampowered.com/account/newaccountverification?stoken=030762f5861f2e76b0d36479556a87b5c33e431bab09eae9e9480c03de45876548a4ad5c2b2afd52539d4c6052194811&amp;creationid=1067423747655719119" target="_blank" class="link c-grey4" style="display:block;padding:13px 35px;text-decoration:none;color:#f1f1f1"><span class="link c-grey4" style="text-decoration:none;color:#f1f1f1">Подтвердить адрес эл. почты&nbsp;&nbsp;&nbsp;</span></a></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="text-18 c-grey4 pb-30" style="font-size:18px;line-height:25px;font-family:Arial,sans-serif,'Motiva Sans';text-align:left;color:#dbdbdb;padding-bottom:30px">Необходимо подтвердить адрес электронной почты, чтобы пользоваться такими функциями Steam, как защита Steam Guard, Торговая площадка и обмен, — и чтобы легко вернуть аккаунт, если он попадёт в чужие руки.</td></tr></tbody></table><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="text-18 c-white fw-b pb-10" style="font-size:18px;line-height:25px;font-family:Arial,sans-serif,'Motiva Sans';text-align:left;color:#fff;font-weight:700;padding-bottom:10px">Настройки почтовой рассылки</td></tr></tbody></table><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="text-18 c-grey4 pb-30" style="font-size:18px;line-height:25px;font-family:Arial,sans-serif,'Motiva Sans';text-align:left;color:#dbdbdb;padding-bottom:30px">Valve также может иногда присылать вам электронные письма, чтобы уведомить об играх или событиях в Steam. Если вы не хотите получать подобные сообщения или хотите сами решить, когда с вами можно связаться, после создания аккаунта вы можете изменить настройки своей почтовой рассылки<a href="https://store.steampowered.com/account/emailoptout" target="_blank" class="link-u c-white" style="text-decoration:underline;color:#fff"><span class="link-u c-white" style="text-decoration:underline;color:#fff">здесь</span></a>.</td></tr></tbody></table><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="text-18 c-blue1 pb-40" style="font-size:18px;line-height:25px;font-family:Arial,sans-serif,'Motiva Sans';text-align:left;color:#7abefa;padding-bottom:40px">Если вы не создавали новый аккаунт с этим адресом эл. почты, просто проигнорируйте это письмо.</td></tr></tbody></table><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="pt-30" style="padding-top:30px"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="img" width="3" bgcolor="#3a9aed" style="font-size:0;line-height:0;text-align:left"></td><td class="img" width="37" style="font-size:0;line-height:0;text-align:left"></td><td><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="text-16 py-20 c-grey4 fallback-font" style="font-size:16px;line-height:22px;font-family:Arial,sans-serif,'Motiva Sans';text-align:left;padding-top:20px;padding-bottom:20px;color:#f1f1f1">С уважением,<br>команда Steam</td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr><td class="py-60 px-90 mpy-40 mpx-15" style="padding-top:60px;padding-bottom:60px;padding-left:90px;padding-right:90px"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="text-18 pb-60 mpb-40 fallback-font" style="font-size:18px;line-height:25px;color:#000001;font-family:Arial,sans-serif,'Motiva Sans';text-align:left;padding-bottom:60px">Это уведомление отправлено на адрес эл. почты, связанный с вашим аккаунтом Steam.<br><br>Это письмо сгенерировано автоматически. Пожалуйста, не отвечайте на него. Если вам понадобится помощь, обратитесь в службу поддержки Steam.</td></tr><tr><td class="pb-60" style="padding-bottom:60px"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><th class="column" width="270" style="font-size:0;line-height:0;padding:0;margin:0;font-weight:400"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="text-18 mpb-40 fallback-font" style="font-size:18px;line-height:25px;color:#000001;font-family:Arial,sans-serif,'Motiva Sans';text-align:left"><a href="https://help.steampowered.com" target="_blank" class="link-u c-black" style="text-decoration:underline;color:#000001"><span class="link-u c-black" style="text-decoration:underline;color:#000001">https://help.steampowered.com</span></a></td></tr></tbody></table></th></tr></tbody></table></td></tr><tr><td class="pb-50" style="padding-bottom:50px"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><th class="column" width="270" valign="top" style="font-size:0;line-height:0;padding:0;margin:0;font-weight:400;vertical-align:top"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="img mpt-0" style="font-size:0;line-height:0;text-align:left"><a href="https://store.steampowered.com/" target="_blank"><img src="https://store.akamai.steamstatic.com/public/shared/images/email/logo_footer.png" width="165" height="50" border="0" alt=""></a></td></tr></tbody></table></th><th class="column-top mpb-40" width="15" style="font-size:0;line-height:0;padding:0;margin:0;font-weight:400;vertical-align:top"></th><th class="column" style="font-size:0;line-height:0;padding:0;margin:0;font-weight:400"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="text-12 fallback-font" style="font-size:12px;line-height:18px;color:#000001;font-family:Arial,sans-serif,'Motiva Sans';text-align:left">Чтобы установить настольный клиент Steam и узнать больше, перейдите на вкладку «О Steam».<br><br><a href="https://store.steampowered.com/about/" target="_blank" class="link-u c-black" style="text-decoration:underline;color:#000001"><span class="link-u c-black" style="text-decoration:underline;color:#000001"><strong>О Steam</strong></span></a></td></tr></tbody></table></th></tr></tbody></table></td></tr><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><th class="column-top" valign="top" width="270" style="font-size:0;line-height:0;padding:0;margin:0;font-weight:400;vertical-align:top"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="img" style="font-size:0;line-height:0;text-align:left"><a href="https://www.valvesoftware.com/en/" target="_blank"><img src="https://store.akamai.steamstatic.com/public/shared/images/email/logo_valve.jpg" width="165" height="48" border="0" alt=""></a></td></tr></tbody></table></th><th class="column-top mpb-40" valign="top" width="15" style="font-size:0;line-height:0;padding:0;margin:0;font-weight:400;vertical-align:top"></th><th class="column-top" valign="top" style="font-size:0;line-height:0;padding:0;margin:0;font-weight:400;vertical-align:top"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="text-12 pb-30 fallback-font" style="font-size:12px;line-height:18px;color:#000001;font-family:Arial,sans-serif,'Motiva Sans';text-align:left;padding-bottom:30px"><strong>© Valve Corporation</strong><br><strong>PO Box 1688 Bellevue, WA 98009</strong><br><br>Все права защищены. Все торговые марки являются собственностью соответствующих владельцев в США и других странах.</td></tr></tbody></table></th></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></center>

    JS
    /* HTML Email Code: Paste your email text here */
    const letter_body = require("fs").readFileSync("./letter.html", "utf-8");

    /**
    * Extracts the account activation link from the email
    * @param {string} letterHTML - Letter HTML Content
    * @returns {string|null} - Activation url or null
    */
    function getVerificationURL(letterHTML) {
    /* Regular expression */
    const regex = /stoken=(.*?)[a-z0-9](?:&amp;|&)creationid=(.*?)[0-9]" target/;

    /* Searching for activation url parameters [stoken, creationid] */
    const matches = letterHTML.match(regex);
    return matches
    ? `https://store.steampowered.com/account/newaccountverification?stoken=${matches[1]}&creationid=${matches[2]}`
    : null;
    }

    const activationUrl = getVerificationURL(letter_body);

    console.log(activationUrl ? `✅ URL: ${activationUrl}` : "⛔ Activation URL not found in a letter.");
     
    1. Tekumi Topic starter
      RCode_inactive4232809, уже сделал что-то подобное, но все равно, спасибо)
Loading...
Top