I am already using curl to get the file content into a variable like this )Ĭan you explicitly tell me how can i parse this whole file (it's a pretty large one) and save the fields in an array for example like this? videosĪnd later i can acces to every video attributes lets say videos for getting the title for the first video? and so on with the other attributes for example videos and get the link to the video #42. #EXTM3U and down that start the video information tag (#EXTINF:-1. #EXTINF:-1 tvg-id="" tvg-name="Animal Planet" tvg-logo="" group-title="ENTRETENIMIENTO",Animal PlanetĪs you can see, there is the main tag for the file #EXTINF:-1 tvg-id="" tvg-name="ABC Puerto Rico" tvg-logo="" group-title="NACIONALES",ABC Puerto Rico #EXTINF:-1 tvg-id="" tvg-name="A&E" tvg-logo="" group-title="ENTRETENIMIENTO",A&E
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |