Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I find with class and get attribute? #56

Closed
UedaTakeyuki opened this issue May 26, 2020 · 2 comments
Closed

How can I find with class and get attribute? #56

UedaTakeyuki opened this issue May 26, 2020 · 2 comments

Comments

@UedaTakeyuki
Copy link

Hello,

How can I use the following python bs find on your soup? Thank you for your suggestion!

Find("div", "class", "toggleVisible")["id"]
@bajro17
Copy link

bajro17 commented May 28, 2020

Find("div", "class", "toggleVisible").Attrs()["id"] I guess you ask for this

@UedaTakeyuki
Copy link
Author

Hi Bajro17,

It's working completely! Thank you!!!

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

No branches or pull requests

2 participants