Commits

Duy Tân Phạm  committed fd740a6

Update NhacCuaTuiParser.py

Change from search for class_id to dev_id as suggested by thuandt

  • Participants
  • Parent commits 1560243

Comments (0)

Files changed (1)

File NhacCuaTuiParser.py

         data = req.read().split("\n")  # split web page with \n
         feed_data = None
         for param in data:
-            if (param.find('classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"') > -1):
+            if (param.find('id="mediaFlashPlayer"') > -1):
                 """Find line to get xml url
                 """
                 feed_data = param