Referencing JAVASCRIPT variables from within a PYTHON script for web scraping purposes using REGEX

preview_player
Показать описание
Hey what's up guys, in this video we gonna learn how to extract JS variables from HTML pages' script tags and convert them to python variables using regular expressions and json module so eventually we'll be able to reference javascript variables from within a python script.

Regular expression to match javascript variables
(.*)( = )([^;]*)
Рекомендации по теме
Комментарии
Автор

Отличная работа, Максима сан. Содержательное и поучительное видео, сделанное с душою и интересом, так же, как и другие твои работы. Очень горжусь и Очень тебя люблю! Твоя жена.

evgenieykorzh
Автор

The mention of REGEX killed your views man!


Only joking. Nice vid, I need to STFU and go learn them!

python