Skip to content

Commit

Permalink
Remove leading / from mdblist #65
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas committed Feb 12, 2025
1 parent 72417b0 commit 2d0cfdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/mdblist.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ class MDBList(ListScraper):

def get_list(list_id, config=None):

list_id = list_id.strip("/")

# Get the list name
r = requests.get(f"https://mdblist.com/lists/{list_id}")
soup = bs4.BeautifulSoup(r.text, 'html.parser')
Expand Down

0 comments on commit 2d0cfdf

Please sign in to comment.