<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Elvin Madatov on Medium]]></title>
        <description><![CDATA[Stories by Elvin Madatov on Medium]]></description>
        <link>https://medium.com/@elvinmdtv?source=rss-19d8cf761b9d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*QbiHJ8XfvLswXQIE</url>
            <title>Stories by Elvin Madatov on Medium</title>
            <link>https://medium.com/@elvinmdtv?source=rss-19d8cf761b9d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 00:55:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@elvinmdtv/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Build an Instagram Profile Tracker in Python]]></title>
            <link>https://medium.com/@elvinmdtv/build-an-instagram-profile-tracker-in-python-affba17a8915?source=rss-19d8cf761b9d------2</link>
            <guid isPermaLink="false">https://medium.com/p/affba17a8915</guid>
            <dc:creator><![CDATA[Elvin Madatov]]></dc:creator>
            <pubDate>Sat, 30 May 2026 20:23:10 GMT</pubDate>
            <atom:updated>2026-05-30T20:23:10.546Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’ve ever wanted to monitor Instagram account growth, engagement, or other profile metrics over time, a small Python tracker is a great weekend project.</p><p>In this tutorial, I’ll build a simple Instagram profile tracker using Python and HikerAPI, a hosted Instagram API service. Instead of dealing with browser automation, proxies, and anti-bot defenses, I can simply send HTTP requests and work with structured JSON responses.</p><h3>Step 1: Why Use an API Instead of Scraping?</h3><p>When collecting Instagram data, the first temptation is often to scrape the website directly.</p><p>The problem is that scraping requires handling:</p><ul><li>Frequent frontend changes</li><li>Rate limits</li><li>IP blocking</li><li>Captchas</li><li>Login flows</li></ul><p>For analytics projects, I prefer using a hosted API because it abstracts away those operational challenges. Services like HikerAPI provide stable endpoints, structured responses, and predictable pricing.</p><p>You can learn more at <a href="https://hikerapi.com/">https://hikerapi.com</a>.</p><h3>Step 2: Install Python Dependencies</h3><p>For this project, I only need the Requests library.</p><pre>pip install requests</pre><p>Next, create a new Python file called:</p><pre>tracker.py</pre><h3>Step 3: Fetch Profile Data</h3><p>I’ll start with the base API request.</p><pre>import requests</pre><pre>headers = {<br>    &quot;x-access-key&quot;: &quot;YOUR_KEY&quot;<br>}</pre><pre>r = requests.get(<br>    &quot;https://api.hikerapi.com/v2/user/by/username?username=instagram&quot;,<br>    headers=headers<br>)</pre><pre>print(r.json())</pre><p>After running the script, I receive profile information in JSON format.</p><p>The exact response structure may evolve over time, but it typically contains profile metadata that can be used for analytics and monitoring.</p><h3>Step 4: Extract the Metrics I Care About</h3><p>Instead of printing the entire response, I can pull out specific values.</p><p>For example, I might want to track:</p><ul><li>&lt;follower count&gt;</li><li>&lt;following count&gt;</li><li>&lt;post count&gt;</li><li>&lt;engagement metric&gt;</li><li>&lt;custom KPI&gt;</li></ul><pre>import requests</pre><pre>headers = {<br>    &quot;x-access-key&quot;: &quot;YOUR_KEY&quot;<br>}</pre><pre>username = &quot;instagram&quot;</pre><pre>r = requests.get(<br>    f&quot;https://api.hikerapi.com/v2/user/by/username?username={username}&quot;,<br>    headers=headers<br>)</pre><pre>data = r.json()</pre><pre>print(&quot;Username:&quot;, username)<br>print(&quot;Followers:&quot;, data.get(&quot;&lt;follower field&gt;&quot;))<br>print(&quot;Following:&quot;, data.get(&quot;&lt;following field&gt;&quot;))<br>print(&quot;Posts:&quot;, data.get(&quot;&lt;post count field&gt;&quot;))</pre><p>At this point, I already have the foundation for a simple analytics tool.</p><h3>Step 5: Save Daily Snapshots</h3><p>Analytics becomes useful when I store historical data.</p><p>I can append a snapshot to a CSV file every time the script runs.</p><pre>import csv<br>from datetime import datetime</pre><pre>with open(&quot;history.csv&quot;, &quot;a&quot;, newline=&quot;&quot;) as f:<br>    writer = csv.writer(f)</pre><pre>    writer.writerow([<br>        datetime.utcnow().isoformat(),<br>        data.get(&quot;&lt;follower field&gt;&quot;),<br>        data.get(&quot;&lt;following field&gt;&quot;),<br>        data.get(&quot;&lt;post count field&gt;&quot;)<br>    ])</pre><p>The CSV file will gradually become a time series dataset that I can analyze later.</p><p>Example:</p><pre>timestamp,followers,following,posts<br>2025-01-01T10:00:00,1000,250,80<br>2025-01-02T10:00:00,1025,255,81</pre><h3>Step 6: Calculate Growth</h3><p>Once I have historical snapshots, I can calculate growth between measurements.</p><pre>growth = current_followers - previous_followers</pre><pre>print(&quot;Follower Growth:&quot;, growth)</pre><p>I can also calculate:</p><ul><li>Daily growth rate</li><li>Weekly growth</li><li>Average growth per day</li><li>Percentage change</li><li>Growth forecasts</li></ul><p>These metrics help transform raw profile data into actionable insights.</p><h3>Step 7: Automate the Tracker</h3><p>The final step is automation.</p><p>On Linux or macOS, I can schedule the script with cron:</p><pre>0 9 * * * python tracker.py</pre><p>On Windows, I can use Task Scheduler.</p><p>Running the tracker once per day is usually enough for most profile monitoring use cases.</p><h3>Conclusion</h3><p>In this tutorial, I built a simple Instagram profile tracker using Python and HikerAPI. Starting from a single API request, I fetched profile information, extracted metrics, stored historical snapshots, and prepared the data for growth analysis.</p><p>From here, it’s easy to expand the project by tracking multiple profiles, building dashboards, exporting reports, or monitoring additional metrics such as &lt;what metric I track&gt;.</p><p>The result is a lightweight analytics workflow that avoids the complexity and maintenance burden of traditional Instagram scraping.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=affba17a8915" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Invisible heroes of IP world]]></title>
            <link>https://medium.com/@elvinmdtv/invisible-heroes-of-ip-world-d38c62e76334?source=rss-19d8cf761b9d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d38c62e76334</guid>
            <dc:creator><![CDATA[Elvin Madatov]]></dc:creator>
            <pubDate>Sun, 04 May 2025 21:09:38 GMT</pubDate>
            <atom:updated>2025-05-04T21:10:47.335Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*n0xw77x2J64ltFb4.png" /></figure><p>In this article, we will explore the less known versions of the Internet Protocol (IP) that are no longer in use. But before diving into the history, let’s begin with the basics:</p><h3>What is Internet Protocol?</h3><p>Internet Protocol is a set of rules that governs how data is sent and received across networks. You can think of it like a postal system for the internet where it ensures that digital information is transferred accurately between devices.</p><h3>What is the importance for of Internet Protocol?</h3><p>IP plays a critical role in networking by:</p><ul><li>Assigning unique addresses to devices on a network.</li><li>Routing data from one device to another by finding the best path.</li><li>Breaking data into packets, labeling them with source and destination addresses, and delivering them to the correct location.</li></ul><p><strong>The Core Concept:</strong></p><p>IP works alongside transport protocols like TCP and UDP. While IP decides where the data goes, TCP ensures reliable delivery, and UDP prioritizes speed. IP operates at Layer 3 (the Network Layer) of the OSI model, handling addressing and routing without managing how the data is processed once delivered.</p><h3>Success history of Internet Protocols — Versions</h3><h3>IPv1:</h3><p>was developed in early 1970s, around 1973–1974, as a part of the <strong>ARPANET </strong>project.</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><h4>What is ARPANET?</h4><p><strong>ARPANET</strong> (Advanced Research Projects Agency Network) was the <strong>first computer network to implement packet switching</strong> and the <strong>first network to use the Internet Protocol (IP)</strong>. Developed in the late 1960s by the U.S. Department of Defense’s ARPA, its goal was to connect researchers and institutions, allowing them to share data and computing power remotely.</p><p>It laid the <strong>technical foundation for the modern internet</strong>, pioneering key innovations like packet-based communication and decentralized networking. ARPANET’s success led directly to the development of <strong>TCP/IP protocols</strong>, making it a crucial milestone in the history of digital communication.</p><h4>Fun Fact:</h4><p>The first message sent over ARPANET was supposed to be <em>“LOGIN”,</em> but as the system crashed after the first two letters, the first message on the internet was just: <strong><em>“LO”</em></strong></p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Although IPv1 was never standardized or commercially deployed, it played a key role in establishing basic networking principles such as packet switching, host identification, and data delivery. It didn’t use a defined address format like IPv4 or IPv6 because it was only used as an internal prototype.</p><p>At the time, functions such as routing and transmission were managed within a single protocol. As networks expanded, this was inefficient. In 1977, internet pioneer Jon Postel suggested splitting these functions, and this led to the development of TCP for communication and IP for routing — an important step toward the layered architecture we employ today.</p><p>While there is no RFC for IPv1, its influence can be traced back in earlier documents like RFC 675. IPv1 never became public, but it went about laying the groundwork for what later became IPv4 and the internet of today.</p><h3>IPv2:</h3><p>was introduced in 1970s, <strong>IPv2</strong> was a continuation of early IP experiments aimed at improving packet structure and refining how data moved across networks. Like IPv1, it was never standardized or publicly released but played an important role in advancing protocol design.</p><p>IPv2 supported the emerging idea of <strong>separating communication tasks into distinct layers</strong>. Researchers explored how to divide responsibilities like <strong>routing</strong> and <strong>reliability</strong>, which helped shape the foundation for <strong>TCP</strong> and <strong>IP</strong> as separate protocols.</p><p>Like other versions of IPs, IPv2 had no defined address format or official RFC either, its internal contributions helped prepare the way for <strong>IPv3</strong> and ultimately <strong>IPv4</strong>, which became the first widely adopted version of the Internet Protocol.</p><h3>IPv3:</h3><p>was followed by IPv2 as another internal revision to protocol behavior polish and experimenting with improvements to packet processing and routing. Like the two preceding versions, it too was never released or standardized for public use but contributed to the technical specification that would soon converge into IPv4.</p><p>One of IPv3’s primary functions was to assist in testing early versions of address formatting and header structures, gradually evolving toward a more stable and scalable protocol. It also aided in further attempts at layering the communication layers, reaffirming the separation between transport protocols such as TCP and network protocols such as IP.</p><p>In spite of the fact that there is no official RFC for IPv3 and it introduced no publicly exposed features, it acted as a final stepping stone to the release of IPv4, the first version of IP to be widely accepted and deployed in networks across the globe.</p><h3>IPv4:</h3><p>Released in 1981 as RFC 791, IPv4 (Internet Protocol version 4) was the first publicly used, fully standardized Internet Protocol version. It was the key step that brought networking out of the experimental stage and into global communications system status. IPv4 has been the internet’s fundamental protocol for decades, enabling data communication among billions of devices worldwide.</p><p>IPv4 was accompanied by a 32-bit addressing system, which allows for approximately 4.3 billion unique IP addresses. Each device on a network is assigned an address such as 192.168.0.1, which allows it to send and receive data. The protocol uses a connectionless, best-effort paradigm, which means that it does not guarantee delivery but delivers scalable and efficient routing.</p><p>One interesting feature of IPv4 was the introduction of packet fragmentation, whereby larger data packets could be broken up into smaller packets and reassembled at the destination. The IPv4 header also included fields for Time to Live (TTL), checksum, source/destination addresses, and protocol identifiers to enable correct and orderly delivery.</p><p>???? Address Classes<br>In an attempt to organize the address space, IPv4 was originally divided into classes based on network size:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*mwWUgC4YeVECwTxR.png" /></figure><p>Eventually, this rigid system was superseded by CIDR (Classless Inter-Domain Routing), which allowed more efficient and flexible use of address space.</p><p>Private Addressing and NAT<br>Since the amount of IPv4 addresses was restricted, some blocks were set aside for private use:</p><ul><li><strong>10.0.0.0/8</strong></li><li><strong>172.16.0.0/12</strong></li><li><strong>192.168.0.0/16</strong></li></ul><p>These addresses are not routable on the internet and are typically used in LANs. To make private devices communicate with the internet, Network Address Translation (NAT) was created to enable multiple devices to use a single public IP address.</p><p>???? Protocol Support and Ecosystem<br>IPv4 was the foundation for many essential networking protocols:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*k8Z-cV-pmNiJKpw6.png" /></figure><p>⚠️ Limitations and Legacy<br>Despite its success, IPv4 has several limitations:</p><ol><li>Address exhaustion due to limited 32-bit space</li><li>No native encryption and authentication</li><li>Fragmentation issues can reduce performance</li><li>Limited support for mobility and autoconfiguration</li></ol><p>These limitations led to the development of IPv6 as a way to bypass IPv4 limitations. However, IPv4 remains deeply rooted due to its wide adoption, compatibility, and infrastructure support.</p><h3>IPv5:</h3><p>We can understand that IPv1, IPv2 and IPv3 is the pioneers for the development of publicly deployable version of Internet Protocol, IPv4. But why IPv5, next version after IPv4, failed in becoming commercially undeployable? Let’s dive in:</p><p>IPv5 isn’t what you might expect based on the natural progression of the Internet Protocol. The version 5 designation was allocated to an experimental non-IP-based streaming protocol named ISP (Internet Stream Protocol) which is developed in 1970s and then refined in 1990s.</p><p>Official designation of IPv5 is ST2 and it was developed for connection-oriented communication specifically for audio and video transmission. The protocol itself, ST2, was never officially designated as IPv5. The reason why we don’t have version 5 in the progression of Internet Protocol versions is dur to the fact that version field of IP header in the ST2 protocol was assigned to five (5). When we look at the IP headers:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*PAaB5MJJpSzu6kkm.png" /></figure><p>We can see the version fields for both IPv4 and IPv6 that indicated the version of using Internet Protocol is the first field in the header. By reading the version field which composed the very first bits of the packet that arrives on an interface</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*a7RAT0knHwK2syw2.png" /></figure><p>With that, network devices read the version field and knows how to interpret the rest of headers and the rest of the packet.</p><p>Because ST2 packets has the same structure as IP packets engineers decided to use number 5 in the version field to distinguish packets from IPv4 packets. So they can be interpreted and processed correctly.</p><p>So because of 5 has already been taken by ST2 protocol the successor to IPv4 had to be named IPv6. So the designation IPv5 was skipped.</p><p>Internet Stream Protocol was only experimental in nature and it was never introduced as public use. However, many of the concepts of ST2 is available in other technologies such as Asynchronous Transfer Mode (ATM) and Multi-protocol Label Switching (MPLS).</p><h3>IPv6:</h3><p>With the explosion of the connected devices and rapid expansion of the Internet IPv4’s 32-bit’s address space which is allowing 4.3 billion unique IP addresses was no longer sufficient. To solve this problem, the Internet Engineering Task Force (IETF) introduced IPv6 in 1998 under RFC2460 which later updated to RFC 8200. This marked the most significant upgrade in the history of IP.</p><p>IPv6 are in 128 bit format which provides approximately 340 undecillion possible IP addresses. Example: <em>“2001:0db8:85a3:0000:0000:8a2e:0370:7334”</em></p><h4>Characteristic features of IPv6</h4><ul><li><strong>Massive address capacity</strong></li><li><strong>Simplified header structure for faster processing</strong></li><li><strong>Built-in IPsec for security (encryption and authentication)</strong></li><li><strong>No need for NAT (Network Address Translation)</strong></li><li><strong>Auto-configuration (SLAAC) for plug-and-play networking</strong></li><li><strong>Improved support for mobile devices and IoT</strong></li><li><strong>Multicast support instead of broadcast</strong></li><li><strong>Better routing efficiency</strong></li></ul><h4>Challenges of IPv6 in transition</h4><p>Despite its many advantages, IPv6 adoption has been <strong>gradual</strong>. Reasons include:</p><ul><li><strong>Compatibility issues with legacy hardware and software</strong></li><li><strong>The need to reconfigure networks and retrain personnel</strong></li><li><strong>The success of NAT in extending IPv4’s lifespan</strong></li></ul><p>Many organizations have already used <strong>dual-stack deployment</strong>, where IPv4 and IPv6 run side-by-side during the transition period.</p><h3>IPv7:</h3><p>Although, it sounds like a natural successor to IPv6, IPv7 is a reserved label than a real protocol. There is no official version of IP in the name of IPv7 which is used in modern internet. However, it has already been a topic in the experimental contexts.</p><p>In the <strong>early 1990s</strong>, a protocol called <strong>TP/IX (The Next Internet)</strong> was proposed in <strong>RFC 1475</strong>, and it used the <strong>version number 7</strong> in its header. TP/IX aimed to address the limitations of IPv4 by offering larger addresses, improved routing, and better scalability — all before IPv6 was officially adopted.</p><p>In spite of the ambition of TP/IX, it was never standardized and widely implemented. As a result, it was replaced by the more structured and community-supported development of IPv6. Since protocol number seven was already been used by TP/IX, the next official version had to be IPv6, skipping other public release of IPv5 and IPv7 versions</p><h4>Why we don’t have IPv7 today?</h4><ul><li><strong>Protocol number 7 is taken</strong> by TP/IX (just like IPv5 used number 5 for ST-II)</li><li><strong>IPv6 already solves the problems</strong> that TP/IX and similar proposals aimed to fix</li><li><strong>No need for a separate version</strong> — the focus remains on IPv6 adoption</li></ul><h3>To overview</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*95j3hqKQ8BqGsaaP.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d38c62e76334" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>