code: def process_musicbed(vargs):
      
  
      # let's validate given MusicBed url
      validated = False
      if vargs['artist_url'].startswith( 'https://www.musicbed.com/' ):
          splitted = vargs['artist_url'][len('https://www.musicbed.com/'):].split( '/' )
          if len( splitted ) == 3:
              if ( splitted[0] == 'artists' or splitted[0] == 'albums' or splitted[0] == 'songs' ) and splitted[2].isdigit():
                  validated = True
  
      if not validated:
          puts( colored.red( 'process_musicbed: you provided incorrect MusicBed url. Aborting.' ) )
          puts( colored.white( 'Please make sure that url is either artist-url, album-url or song-url.' ) )
          puts( colored.white( 'Example of correct artist-url: https://www.musicbed.com/artists/lights-motion/5188' ) )
          puts( colored.white( 'Example of correct album-url:  https://www.musicbed.com/albums/be-still/2828' ) )
          puts( colored.white( 'Example of correct song-url:   https://www.musicbed.com/songs/be-still/24540' ) )
          return
  
      filenames = scrape_musicbed_url(vargs['artist_url'], vargs['login'], vargs['password'], num_tracks=vargs['num_tracks'], folders=vargs['folders'], custom_path=vargs['path'])
  
      if vargs['open']:
          open_files(filenames)
docs: Main MusicBed path.