<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: m1rasb</title>
    <description>The latest articles on DEV Community by m1rasb (@m1ras).</description>
    <link>https://dev.to/m1ras</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F780509%2F7b9fc06f-10ce-45df-944f-067888a5a951.png</url>
      <title>DEV Community: m1rasb</title>
      <link>https://dev.to/m1ras</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/m1ras"/>
    <language>en</language>
    <item>
      <title>JavaScript Question: Help change the script (newbie!)</title>
      <dc:creator>m1rasb</dc:creator>
      <pubDate>Sat, 25 Dec 2021 17:28:51 +0000</pubDate>
      <link>https://dev.to/m1ras/help-change-the-script-newbie-1hib</link>
      <guid>https://dev.to/m1ras/help-change-the-script-newbie-1hib</guid>
      <description>&lt;p&gt;This script parses instagram followers. You need to log into your account and open the list of subscribers / subscriptions and paste the script into the console. Then it will start parsing.&lt;/p&gt;

&lt;p&gt;Help change the code so that it only parses those who have published a story.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;let ul_accounts = document.getElementsByClassName("jSC57  _6xe7A"); // класс тега ul списка аккаунтов&lt;br&gt;
function parsing() {&lt;br&gt;
    let accounts = ul_accounts[0].innerHTML&lt;br&gt;
    // ------------------------------------------------------------------------------&lt;br&gt;
    // Парсинг ников&lt;br&gt;
    // ------------------------------------------------------------------------------&lt;br&gt;
    let result_nick = accounts.match(/title="[^"]+"/g)&lt;br&gt;
    let result_count = result_nick.length&lt;br&gt;
    result_nick = result_nick.join(' ').match(/"[^"]+"/g).join(' ').match(/[^"]+/g).join('').match(/[^\s]+/g).join('\n')&lt;br&gt;
    // ------------------------------------------------------------------------------&lt;br&gt;
    // Печать ников&lt;br&gt;
    // ------------------------------------------------------------------------------&lt;br&gt;
    console.log(result_nick)&lt;br&gt;
    console.log('%cАккаунтов собрано: ' + result_count + ' шт.', 'color: #13a555; font-size:18px;')&lt;br&gt;
}&lt;br&gt;
parsing()&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Or help me to realize the idea. You need to parse people who have published a storypublished a story.&lt;/p&gt;

&lt;h1&gt;
  
  
  js #instagram #story #script
&lt;/h1&gt;

</description>
    </item>
  </channel>
</rss>
