Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

getFullFormsUsingWikipedia

  1. get titles of topics from wikipedia
  2. automation of google page details

python get_wiki_title.py

This function prints the titles of possible wiki topics:

queries = ["CPU", "GPU", "RAM", "SSD", "HDD", "SingleShot", "MultiShot", "AutoFocus", "Aperture", "ISO", "ShutterSpeed"]
id = "#firstHeading"
wiki_url = "https://en.wikipedia.org/wiki/"
results = asyncio.run(get_Titles(queries, id, wiki_url))
pprint(results)

python automate_google_pages_details.py

This function automates the soup of any number of pages:

url, query, page_id, google_search_btn_id = "https://www.google.com", "kung fu panda", "(//h3)[1]", "btnK"
results = get_insider_page_details(url, query, page_id, google_search_btn_id)
pprint(results)
url = "https://www.google.com"
query = "kung fu panda" 
page_id = "(//h3)"
google_search_btn_id = f'//*[@name="btnK"]'
page_size = 10
next_button_id = '//span[normalize-space()="Next"]'
stop_page = 14
query_id = '//*[@name="q"]'
results = automate_google_query(url,query_id, query, page_id, google_search_btn_id, page_size, next_button_id, stop_page)
pprint(results)

About

get titles of topics from wikipedia and automation of google page details

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages