To make the request you must use the request method which takes
as an argument a URL.
# Instantiate the plugin and enable JavaScriptcrawler=BotCrawlerPlugin(javascript_enabled=True)url="https://www.youtube.com/c/BotCityComputerVisionAutomationRPA"# Make the requesthtml=crawler.request(url)
Looking into the page source from the previous example, we can notice that the element holding the subscribers information has the attribute id as subscriber-count.
Here is how we can read the value of the element:
# This sets the current element on the HTML object to the one foundhtml.get_element_by_id("subscriber-count")# Read the value into the subscribers variablesubscribers=html.value()