Skip to content

Python script, which empowers people with no programming background to generate robust leads on a mass scale. This repo will be compiled of various versatile techniques used in lead generation.

yelp locatros back

Madia49d4e92cb9b
diff --git a/yellow-pages/locators.py b/yellow-pages/locators.py
new file mode 100644
index 0000000..5b3691d
--- /dev/null
+++ b/yellow-pages/locators.py
@@ -0,0 +1,10 @@
+results_xpath = '//*[@class=" leftRailSearchResultsContainer__09f24__3vlwA border-color--default__09f24__R1nRO"]'
+next_xpath = '//*[@class="icon--24-chevron-right-v2 navigation-button-icon__09f24__2FnZH css-12anxc3"]'
+places_xpath = '//h4'
+inner_xpath = '//*[@class="lemon--h1__373c0__2ZHSL heading--h1__373c0__dvYgw undefined heading--inline__373c0__10ozy"]'
+
+search_button_selector = '.ybtn.ybtn--primary.ybtn--small.business-search-form_button'
+input_selector = '.pseudo-input_field.business-search-form_input-field'
+
+json_attrs = {'type': 'application/ld+json'}
+website_attrs = {'target': '_blank'}