Original article thanks to 1989guy
It is understandable that some people are not very tech savvy and just want to get the required details and move on. This makes them an easy target to steal their IPTV credentials for which they paid for. Let’s attempt to stop that.
Here is a very simple guide to figure out the Xtream code from M3U link and viceversa.
Here is an example M3U link
M3U Link: http://website-Url.xyz/get.php?username=abcdefgh1234&password=1234qwerty&type=m3u&output=mpegts
Simplified as:
http://HOSTNAME + /get.php? + username=YOUR_USERNAME
+ password=YOUR_PASSWORD + &type=m3u&output=mpegts
To get an EPG from the details above it is
EPG Link: http://website-Url.xyz/xmltv.php?username=abcdefgh1234&password=1234qwerty
Simplified as URL + /xmltv.php? + username=YOUR_USERNAME
+ password=YOUR_PASSWORD
Note: EPG has “xmltv.php” and M3U link has “get.php” in the URL.
To get Xtream Code / XC info, you just need to extract the URL, username and password from the above example.
* URL: http://website-Url.xyz
* username: abcdefgh1234
* password: 1234qwerty
You would type these in your app of choice using xtream code method and it works.
Don’t enter your M3U link in some random website just to find out the XC. You end up giving them your credentials on a silver platter, which will likely be stored and given to the public!