How To Build A Bitcoin Price Grabber Using Beautiful Soup - Python Tkinter GUI Tutorial

  Рет қаралды 7,925

Codemy.com

Codemy.com

3 жыл бұрын

In this video we'll build a fun little Bitcoin Price Web Scraper with Tkinter and Beautiful Soup!
Scraping data from websites is super easy with BeautifulSoup. In this video I'll show you how to do it and also create a little app that checks for price updates every 30 seconds.
The app will also tell you whether the price of Bitcoin has gone up or down since the last time it checked, and the text will change color to red if the price dropped, and green if the price increased.
We'll need to pip install beautifulsoup4 from the terminal for this to work.

Пікірлер: 46
@Codemycom
@Codemycom 3 жыл бұрын
▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My KZbin Channel: bit.ly/2UFLKgj bit.ly/2IGzvOR ▶️ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN ▶️ Get The Code bit.ly/3is65mI
@wtfdoiputhere
@wtfdoiputhere 3 жыл бұрын
I enjoy such content tbh where it is project oriented since u explain things rly well
@Codemycom
@Codemycom 3 жыл бұрын
thanks
@kelvinamoaba9634
@kelvinamoaba9634 3 жыл бұрын
Thank you very much You've been of great help.
@Codemycom
@Codemycom 3 жыл бұрын
Glad to hear it!
@jenilchudgar
@jenilchudgar Жыл бұрын
Great Video!
@Codemycom
@Codemycom Жыл бұрын
thanks
@gangjiatharva999
@gangjiatharva999 3 жыл бұрын
Hey, I am here again, good going John....
@Codemycom
@Codemycom 3 жыл бұрын
Welcome back!
@profounddevices
@profounddevices 3 жыл бұрын
good stuff. i like that my brain was on auto pilot. this app is so functional and you already have developed it. i would have liked a link to the file, but i also learned a lot i had forgotten, and it still took less time than doing it myself... thx!
@Codemycom
@Codemycom 3 жыл бұрын
Glad it was helpful! All my code is on github, link in the pinned comment as always
@dbstudio7859
@dbstudio7859 Жыл бұрын
Thank you this very interesting and good video
@Codemycom
@Codemycom Жыл бұрын
Glad you enjoyed it!
@priyanshusaxena7157
@priyanshusaxena7157 3 жыл бұрын
Such a great video and just 819 views???
@Codemycom
@Codemycom 3 жыл бұрын
It's only a day old...but tell your friends!
@twincamrolla
@twincamrolla 3 жыл бұрын
Hey John thank you for your awesome videos! When i follow your steps to make a .exe out of a .py file it works great on my computer. But when i send it to somebody else it says failed to execute script. How do we make our .py files into .exes that anybody can use?
@dimitriosdesmos4699
@dimitriosdesmos4699 3 жыл бұрын
Thank you...some more Bsoup would be nice !!!!! I am trying to get economic release data from forex websites , i would;d appreciate some help. thanks man
@Codemycom
@Codemycom 3 жыл бұрын
Didn't you learn everything you need from this video?
@user-lr4kp5zw8y
@user-lr4kp5zw8y 3 жыл бұрын
can you make a video to make a entery and set it anything and if we type any thing in it without delete anything from it will delete all things and just set what we writen in it ???
@joeyblaq9952
@joeyblaq9952 2 жыл бұрын
💪
@Codemycom
@Codemycom 2 жыл бұрын
:-)
@nickhimself
@nickhimself 3 жыл бұрын
This works better for taking the price: price_large2 = price_large1[54:-6] because Bitcoin might not always be exactly 9 characters in length, but it will always end 6 characters before
@Codemycom
@Codemycom 3 жыл бұрын
nice
@oncuozgonul
@oncuozgonul 2 жыл бұрын
Please help! When i add dollar sign $ (19:53) python says "invalid syntax"?
@TechSupportChamps
@TechSupportChamps 3 жыл бұрын
!9:15 - Under the price data, what if the pricing is too dynamic that it can reduce or increase the characters to lag below or over the 54:63 range?
@Codemycom
@Codemycom 3 жыл бұрын
Yeah, you'd have to account for that...but is it even possible for bitcoin to drop below 10,000 or above 99,000 anytime soon? Not likely.
@profounddevices
@profounddevices 3 жыл бұрын
prob a lazy short cut is to get the length of the entire string such as len(price_large1), if it goes down or up you could assume the digit is one less or lets be hopefully one more!
@paulcullum517
@paulcullum517 3 жыл бұрын
Just use .text to get the text on bs4 :)
@laurentreynaud4404
@laurentreynaud4404 3 жыл бұрын
Well done ... the bitcoin price keeps dropping now...
@Codemycom
@Codemycom 3 жыл бұрын
yeah, it's crazy to watch
@hiwab41
@hiwab41 3 жыл бұрын
First
@Codemycom
@Codemycom 3 жыл бұрын
Nice!
@klassikalbeat68
@klassikalbeat68 Жыл бұрын
is the global previous a stringvar
@Codemycom
@Codemycom Жыл бұрын
If the code says stringvar, it is.
@Codemycom
@Codemycom Жыл бұрын
@@klassikalbeat68 yep
@ramehharmouch6245
@ramehharmouch6245 3 жыл бұрын
you put the price_large1 from 54:63, but how to do it if the price number exist the 1000000000000000.......?
@Codemycom
@Codemycom 3 жыл бұрын
Huh?
@Zac8668
@Zac8668 3 жыл бұрын
dude you're still doing this series
@alberto12121122
@alberto12121122 Жыл бұрын
Happy birthday
@Zac8668
@Zac8668 Жыл бұрын
@@alberto12121122 what
@learnwithnawf246
@learnwithnawf246 3 жыл бұрын
Is Bitcoin legal?
@Codemycom
@Codemycom 3 жыл бұрын
Of course
@nickochoa2480
@nickochoa2480 2 жыл бұрын
How do you know what I want to learn before I know what I want to learn??
@Codemycom
@Codemycom 2 жыл бұрын
Just lucky I guess
@gangjiatharva999
@gangjiatharva999 3 жыл бұрын
John, I wanna make a weather app in Tkinter. Then imagine that I grabbed the HTML format of the website and paste it in my IDE. How do I find where is the weather in the HTML file?
@Codemycom
@Codemycom 3 жыл бұрын
In the same way I did in this video. By looking at the html and finding the class where the weather data is located.
How To Animate Widgets - Python Tkinter GUI Tutorial #164
18:31
Codemy.com
Рет қаралды 40 М.
Beautiful Soup 4 Tutorial #1 - Web Scraping With Python
17:01
Tech With Tim
Рет қаралды 463 М.
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 17 МЛН
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 12 МЛН
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 77 МЛН
This Free AI Video Tool Brings Characters to Life
10:32
Theoretically Media
Рет қаралды 1 М.
Treeview - Python Tkinter GUI Tutorial #116
20:21
Codemy.com
Рет қаралды 136 М.
Coding Web Crawler in Python with Scrapy
34:31
NeuralNine
Рет қаралды 106 М.
Todo List App Part 1 - Python Tkinter GUI Tutorial #154
16:29
Codemy.com
Рет қаралды 22 М.
How To Create A Splash Screen - Python Tkinter GUI Tutorial #139
11:27
Web Scraping with Python - Beautiful Soup Crash Course
1:08:23
freeCodeCamp.org
Рет қаралды 1,5 МЛН
Tkinter Beginner Course - Python GUI Development
38:59
NeuralNine
Рет қаралды 500 М.
How to Access Web APIs using Python Requests and JSON
14:00
TokyoEdtech
Рет қаралды 46 М.
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 17 МЛН