Giter Club home page Giter Club logo

tidal2strawberry's People

Contributors

claracrazy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tidal2strawberry's Issues

Not working on Windows 11

Hi I just gave this a pop and no success, here's my error:

Nothing to export!
Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000021D843F3370>
Traceback (most recent call last):
  File "C:\Users\Jacob\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 116, in __del__
    self.close()
  File "C:\Users\Jacob\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 108, in close
    self._loop.call_soon(self._call_connection_lost, None)
  File "C:\Users\Jacob\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 750, in call_soon
    self._check_closed()
  File "C:\Users\Jacob\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 515, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

Add support for mixes

I made this change to my local copy:

diff --git a/tidal2strawberry.py b/tidal2strawberry.py
index 74d3f18..64369aa 100644
--- a/tidal2strawberry.py
+++ b/tidal2strawberry.py
@@ -86,7 +86,7 @@ async def main():
     async with aiohttp.ClientSession(headers=headers) as session:
         urls = set()
 
-        if "/browse/playlist/" in url:
+        if "/browse/playlist/" in url or "/browse/mix/" in url:
             async with session.get(url) as req:
                 raw = await req.read()
             html = bs4.BeautifulSoup(raw, "lxml")

Allowing me to access, for example, My New Arrivals. Looks like just extending the url test is sufficient.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.