Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I want to use python web scrapping using selenium and want to get a notification when the date is modified of the content.

URL : Reporting framework 2.9 - European Banking Authority[^]

in this website on the weekly and monthly basis the content gets updated and whatever content gets updated a date is mentioned against them and i want to get a notification in my email that xxxx.....EBA2.9 (example) is updated. Can anyone help me out.

What I have tried:

so far i have tried :

from selenium import webdriver
from selenium.webdriver.common.keys import Keys #to search the particular key

DR = webdriver.Chrome()  #created instance "DR" of the browser
DR.get("https://eba.europa.eu/risk-analysis-and-data/reporting-frameworks/reporting-framework-2.9")

Details = DR.find_elements_by_css_selector('div>p>strong')
print(Details)

for dtl in Details:
    DetailText = dtl.find_element_by_css_selector('div.a')
    print(DetailText.text)



but didn't get the result.
Posted
Updated 22-Sep-19 0:29am
v2
Comments
[no name] 22-Sep-19 12:05pm    
"If you would like to be updated on the EBA's work, subscribe to the EBA email alerts."
Sunil KK 23-Sep-19 0:38am    
Thanks Schmitz for the response, but i want to do this part using web scrapping.
ZurdoDev 23-Sep-19 10:23am    
Then you will have to parse the html and find exactly what you are looking for.
Sunil KK 24-Sep-19 2:58am    
Hi Dev, I actually get an notification whenever any latest content gets uploaded by EBA. Eg. if you visit the link (i mentioned above) you will find date against of content like (Updated 19 August 2019) [ZIP, 2994KB]. If this date gets changed i need a notification
ZurdoDev 24-Sep-19 9:34am    
I don't understand what you want us to do. You said you do "get an notification" and then you said "i need a notification"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900