βββ config2
βΒ Β βββ settings.py
βββ README.md
βββ snakeeyes
https://www.amazon.in/s?k=books&s=price-asc-rank # low to high
https://www.amazon.in/s?k=books&s=price-desc-rank # high to low
https://www.amazon.in/s?k=books&s=relevanceblender # featured
https://www.amazon.in/s?k=books&s=review-rank # Average customer review
https://www.amazon.in/s?k=books&s=date-desc-rank # Newest Arrival
email = driver.find_element_by_name('email')
print(dir(email))
['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__',
'__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__',
'__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__',
'__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__',
'__str__', '__subclasshook__', '__weakref__', '_execute', '_id', '_parent',
- Scraping the code <> using selenium
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
- Most Basic
import threading
threading.Thread(target=f, args=(a,b,c)).start()
- Example 1
import queue
import threading
import urllib2
- search : Returns a match object (An object containing information about the search and the result) | None if there is No Match
- findall : Returns a list containing all matches | Empty list if no match
- match : match at start
- finditer : Find all substrings where the RE matches, and returns them as an iterator
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.