Introduction to Web Scraping (Python) - Lesson 01 (BeautifulSoup, Twitter)

preview_player
Показать описание
In this video, I show how to use Beautiful Soup to scrape a twitter timeline for a particular account.

Kieng Iv/SAF Business Analytics
Рекомендации по теме
Комментарии
Автор

Well done! I spent weeks on books and other videos and sites and what I needed to accomplish was done in this series by SAF in a few videos. Awesome job! Must watch

ppluck
Автор

I am freaking out. I copied ur code and see that error "AttributeError: 'NoneType' object has no attribute 'text'
"

bfofkdl
Автор

A lot has changed on Trump's Twitter account as I run the code. Very interesting data and helpful learning Python. Thank you much!

williamriopellemspt
Автор

I keep getting No module named 'bs4' and this is although I have downloaded beautiful soup

RicardoMedley
Автор

Wonderfully explained, simple, lucid and to the point. Kudos!

ashfaqtunio
Автор

Thank you so much dude. This video really helps me understand how web scraping in Python especially in PyCharm really works!!

ezrawilliam
Автор

Very good video! I really appreciate you taking the time to thoroughly explain the process in a simple easy to understand way.This was very helpful in allowing me to broaden the horizon in what I can do with this.

joshuaclark
Автор

Few questions:

1. Why are you only pulling out 20 of his tweets;
2. How would one pull out all of his tweets;
3. How can one sort his tweets in terms of - which one of his tweets as been 're-tweeted the most' or 'most liked'

Many thanks,

FB-trkf
Автор

how do i iterate the page? this only show one page

jyo
Автор

Can someone please explain why instead of class="ProfileHeaderCard" I see class="css-1dbjc4n r-1iusvr4 r-16y2uox r-5f2r5o r-m611by" and unless I write the first one it prints out none!

ayselabasova
Автор

Please help at 11:58! I can't call the "find" methods multiple times. It says that:
AttributeError: 'ResultSet' object has no attribute 'find'

cangri
Автор

on the for loop, you can use enumerate and save yourself the dummy counter i

MarkJay
Автор

Hey I was wondering would you need Twitter's API to scrap bookmarks of someone's Twitter or could you run the script and gather those pictures?

youngoz
Автор

literally won't let me find classes at all, tried everything, can someone please tell me if they changed the way this works?

ThatGuyDownInThe
Автор

AMAZING video!! Thank you so much! very helpful!

Donutzsick
Автор

How do you know when to use a for loop and when to use just a single statement (like print) to get all the relevant information?

anatoletsypin
Автор

have twitter radically changed their html code?

joshuamills
Автор

I keep getting ordinal not in range(128) error.
The Full line 'ascii' codec can't encode character '\u2019' in position 34: ordinal not in range(128)
How do i fix this ?

seanchen
Автор

I'm using python 3.5.2. while executing the command "from bs4 import BeautifulSoup" it giving an error that bs4 is not found. Do I need to install anything else separately.

niharikareddy
Автор

Thank you for the video. Excellent presentation....

savannshop