| 12345678910111213141516171819 |
- from getpass import getpass
- import requests
- from html.parser import HTMLParser
- from html.entities import name2codepoint
-
- class playerParser(HTMLParser):
- url = ""
- def handle_starttag(self, tag, attrs):
- if tag == 'source':
- self.url = attrs[1][1]
- print(self.url)
- #def handle_data(self, data):
-
- #def handle_endtag(self, tag):
|