Last active
          September 19, 2020 22:09 
        
      - 
      
- 
        Save xatuke/d30f08e574bf9f94aa66c70cbf5f4df6 to your computer and use it in GitHub Desktop. 
Revisions
- 
        xatuke revised this gist Sep 19, 2020 . 2 changed files with 1 addition and 0 deletions.There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ #!/usr/bin/python3 import requests import re folder = input() File renamed without changes.
- 
        xatuke created this gist Sep 19, 2020 .There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ echo "<folder_url>" | python mpvplaylist.py | mpv --playlist=- --playlist-start=X This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ import requests import re folder = input() data = requests.get(folder) lines = data._content.decode('utf-8') files = re.findall('href="(.*)"', lines) for i in range(1, len(files)): print(folder+files[i])