Python Scrape Web for Weather Data & Create Tables & Automate Process
In the other parts of gathering bespoke data to send via email on Epheremis, plot, Moon phases & Sunrise & set & tides we have been getting outr information from a python library (Ephem) or a CSV file (plot using Ephem library data for ephemeris), and Moon & Sun data from python library Ephem as well. For tides we used an API call, so I thought for this process we would look at getting data off a website.
There are different ways of getting data from a website, you can go in from the front end, for what you see . My previous experiences with that method have not been too successful, or you can go in from the back end if there is dynamic data.
I was initially trying to get the data via the former method and was having great difficulty with it, then watches some videos and decided to get the data from the backend.
John Watson Rooney’s video Scrape LIVE scores - No BeautifulSoup or Selenium NEEDED!
https://www.youtube.com/watch?v=hV5k1XbcZXA is the method that I used to obtain data from a dynamic web page , it was so much easier than trying to use the selenium & beautiful soup libraries and far quicker.
I would definitely recommend you check out John Watson Rooney’s channel for any web scraping info, https://www.youtube.com/@JohnWatsonRooney
For the fpdf tables I tried to pay with margins and page size and used row zebra background colour instead of Alternating coloumn coloours, so no real learning on that part of the process.
For files link: https://drive.google.com/drive/folders/1s9mqqb0yYpqtB_r-2-YNasmDN_TgEuu3?usp=sharing
I hope this is of help to you, if so, can you please give a thumbs up for the video. Muchas Gracias Please visit my blog for similar topics: https://cr8ive.tk
Kind regards, Max Drake
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Python Scrape Web for Weather Data & Create Tables & Automate Process», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.