Skip to content

Conversation

@xhocquet
Copy link
Contributor

@xhocquet xhocquet commented Apr 11, 2021

Description

Fixes #3904

Did mange to reproduce the specific error the user saw

To Do

  • Changelog. (Add an entry to docs/changelog.rst near the top of the document.)

@xhocquet
Copy link
Contributor Author

@sampsyo

Copy link
Member

@sampsyo sampsyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome; thanks for looking into this! Here are a couple of comments.

@njelich, maybe you'd like to try this out and see if it fixes your problem?

find("div", class_="card"). \
find_all("div", class_="box-przeboje")

if len(song_rows) < 1:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if not song_rows should be equivalent.


def fetch(self, artist, title):
url = self.build_url(title, artist)
print(url)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like stray debugging lines.

Comment on lines 426 to 428
print('--------------------')
print(song_page_url)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto.

@sampsyo
Copy link
Member

sampsyo commented Apr 12, 2021

Looks good to me! I'll merge this now, but happy to hear from @njelich if they get a chance to try it out.

@sampsyo sampsyo merged commit 63ec2bf into beetbox:master Apr 12, 2021
@xhocquet xhocquet deleted the tekstowo-fix branch April 16, 2021 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lyrics plugin crashing on tekstowo.pl

2 participants