xxxxxxxxxx
links.append(url + "#detail=" + row['data-eventid'])
xxxxxxxxxx
import pandas as pd
import time
import requests
from bs4 import BeautifulSoup
from selenium import webdriver
url = 'https://www.forexfactory.com/calendar.php?month=last'
response = requests.get(url)
data = response.text
soup = BeautifulSoup(data, 'lxml')
xxxxxxxxxx
table = soup.find('table', class_='calendar__table')