I am trying to extract 2 tags, but I am not able to.
I tried the following to get 1 tag:
for tag in soup.find_all('a'):
But when I try this for 2 tags, it doesn't work.
for tag in soup.find_all('a','div'):
You are missing the square braces. You have to pass an array. Try this:
for tag in soup.find_all(['a','div']):
Even I got the same issue, ...READ MORE
You want to avoid interfering with this ...READ MORE
As per the title, I am ...READ MORE
You are using python 2 in which ...READ MORE
Yes, you can use the headless mode. ...READ MORE
Hey. Refer to the following code:
html = ...READ MORE
Yes, you can do it by using ...READ MORE
I had a similar requirement, this is ...READ MORE
Hey. You have to use SpeechRecognition as module ...READ MORE
You can specify the class you want ...READ MORE
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.