<center></center> <center></center> A few days ago I wrote about getting historical price data using python modules like yfinance and finnhub. While using modules and APIs like that is super efficient, sometimes it also useful to download such data directly from websites. I am not just talking about historical price data. Automating any kind of file downloads is quite useful, especially if one has to deal with large amount of files and repeats the process frequently. Today I played a little bit with a Selenium to automate downloading historical price data from Yahoo Finance website. Above you can see the screenshots of the full code. It is not perfect, it does need improvements. But it works. Let me share my experience with Selenium, how to do initial setup, and talk a little bit about what the code does. In the past I have used web automation at its simplest form using basic Chrome webdriver. It was the time when I was obsessed with curation and would spend countless hours reading posts. I have heard about Selenium, but never actually got to use it until now. It is awesome! To use Selenium in our python code we need to make some initial configurations/installations: 1. `pip install selenium` just like installing any other module. Some will have to use pip3 or pip3.8 depending on their OS and existence of the previous versions of python. 2. Go to https://sites.google.com/a/chromium.org/chromedriver/downloads and download the proper chromedriver. You may have to go to your Chrome menu --> Help --> About Google Chrome to find out the version of Chrome on your machine. 3. Make sure chromedriver is stored in an easily accessible location. We will need to provide path to chromedriver file in the python code. For Windows users the file will have an .exe extension. Ok, that should be it for the initial setup. Let's talk about the code itself now. Lines 7-10 is a helper function - `get_file_path`. This is just to make it easy to create a path to our chromedriver. Later at line 24 we will assign the return value to `CHROMEDRIVER_PATH`, which will be used to tell the driver where our chromedriver file is located. Lines 12-22 is another helper function - `get_download_folder`. When we are ready to download files from the website, we want them to be stored at a specific location. In this case we already have a `yf_downloads` folder, we will pass this as an argument to this function later. We also want this function to create a new folder inside `yf_downloads` with a name of today's date. That is where we will store all downloaded files. We use this function at line 24 and assign the return value to `DOWNLOAD_PATH` Lines 27-31: here we are configuring our webdriver using `ChromeOptions()`to accomplish couple important things. With code lines 28-29 we are changing the default download path. Normally on mac web downloads go to the Downloads folder. With lines 30-31 we are changing how our browser behaves to `headless`. But default and without headless, Selenium will open the Chrome browser on the screen, will execute actions, and then close. By using `headless` we will not see these actions on the screen. Everything will be done behind the scene. Lines 34-39: here we are assigning an important variable `interval`. It will be used to define the timeframe for the price data. We have three options: `'1d'` - for daily prices, `'1wk'` - for weekly prices, and `'1mo'` - for monthly prices. There was a little issue the way data returned for weekly and monthly, and I had to come up with a work around to fix the end date. That's why we have a `date_fixer` variable. Lines 41-47: deal with date variables to figure out the starting date and ending date. Our end date will be today's date for daily stock prices, and the previous day for weekly and monthly prices. Start date will be a year or 365 days ago. If we want max historic price data we can assign `start='0'`. Line 49 is the list of our stocks. For testing purposes I was just using random stocks. Rest of the code is where all the fun is happening with Selenium. Originally, when I started coding this I had a different approach. What I wanted to do was to give Selenium driver a list of instructions based on how manual downloading would look like. For Yahoo Finance, we would need to go to `htts://finance.yahoo.com`, then find 'Quote Lookup' field and search for the stock name. Then click 'Historical Data' tab. Afterwards enter 'Time Period', 'Frequency' fields, and hit 'Download' link. As I was experimenting with that I realized, as user changes time periods and frequency, the website creates a query link behind the scenes and can be seen when inspecting the source code of the page. This actually made the task easier. Instead of clicking and adjusting bunch of things (Selenium is great at that), I could just change the text for the generated query link. Once this link is put in the browser, it automatically downloads the file. Here how a sample query link looks like: `https://query1.finance.yahoo.com/v7/finance/download/SQ?period1=1566176492&period2=1597712492&interval=1d&events=history` So I decided to go by just changing the parameters like stock name, period1, period2, and interval values. Also, at the end of the for loop you can see `time.sleep(1)` to give enough time for downloads before `driver.quit()` that closes the browser/driver. Selenium is fun. Posted Using [LeoFinance](https://leofinance.io/@geekgirl/automating-historical-price-data-downloads-from-yahoo-finance-using-selenium-in-python)
author | geekgirl |
---|---|
permlink | automating-historical-price-data-downloads-from-yahoo-finance-using-selenium-in-python |
category | hive-167922 |
json_metadata | {"tags":["stocks","finance","trading","python","dev","coding","neoxian","stemgeeks","ctp","stemsocial","posh","leofinance"],"image":["https://images.hive.blog/DQmd3wFQMtYgCcnLcqb7qhJ1s5Ki2S9TZMRwcBJ3izP2pZF/yf1.png","https://images.hive.blog/DQmefgMqN19k42AaxEKc7jGSfvmtzSTgojT3KUAVEWQVGmj/yf2.png"],"links":["https://sites.google.com/a/chromium.org/chromedriver/downloads"],"app":"leofinance/0.1","format":"markdown","canonical_url":"https://leofinance.io/@geekgirl/automating-historical-price-data-downloads-from-yahoo-finance-using-selenium-in-python"} |
created | 2020-08-19 04:08:21 |
last_update | 2020-08-19 04:08:21 |
depth | 0 |
children | 5 |
last_payout | 2020-08-26 04:08:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 8.534 HBD |
curator_payout_value | 6.453 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 5,734 |
author_reputation | 1,588,017,773,177,039 |
root_title | "Automating Historical Price Data Downloads From Yahoo Finance Using Selenium In Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 99,148,841 |
net_rshares | 39,668,645,559,705 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
enki | 0 | 3,841,614,504,678 | 23.1% | ||
tombstone | 0 | 19,219,603,251 | 0.9% | ||
ash | 0 | 170,615,756,570 | 25% | ||
chitty | 0 | 311,221,615,324 | 75% | ||
onealfa | 0 | 97,136,021,222 | 5% | ||
gerber | 0 | 353,872,023,441 | 5% | ||
daan | 0 | 57,991,286,723 | 8% | ||
ezzy | 0 | 390,024,619,870 | 5% | ||
livingfree | 0 | 365,306,035,091 | 4% | ||
exyle | 0 | 383,483,582,376 | 5% | ||
hanshotfirst | 0 | 543,379,873,656 | 10% | ||
bert0 | 0 | 2,024,470,770 | 0.4% | ||
someguy123 | 0 | 226,959,684,206 | 7.5% | ||
ats-david | 0 | 1,710,413,750,882 | 50% | ||
daveks | 0 | 284,074,834,683 | 7.5% | ||
clayboyn | 0 | 95,193,992,816 | 25% | ||
techslut | 0 | 27,991,840,620 | 5% | ||
created | 0 | 670,859,098,344 | 4% | ||
supergoodliving | 0 | 114,325,913,358 | 50% | ||
zorg67 | 0 | 538,931,110 | 100% | ||
v4vapid | 0 | 4,878,967,739,512 | 33% | ||
bloggingforbeans | 0 | 18,064,882,659 | 50% | ||
bethalea | 0 | 576,356,157 | 20% | ||
dune69 | 0 | 24,864,733,795 | 5% | ||
cryptocurator | 0 | 223,843,958,455 | 33% | ||
papadimos | 0 | 2,312,758,311 | 17.88% | ||
roomservice | 0 | 99,189,155,704 | 2.25% | ||
swelker101 | 0 | 235,121,800,673 | 50% | ||
mys | 0 | 781,120,575 | 0.5% | ||
kaylee.nicole | 0 | 15,331,113,440 | 50% | ||
isaria | 0 | 966,311,530,015 | 50% | ||
trumpman | 0 | 1,999,600,351,656 | 54% | ||
enjar | 0 | 675,192,986,315 | 100% | ||
sam99 | 0 | 43,907,395,440 | 34% | ||
whd | 0 | 569,977,206 | 0.5% | ||
kris10 | 0 | 87,001,385,929 | 50% | ||
d-pend | 0 | 1,408,446,695 | 0.05% | ||
apoloo1 | 0 | 11,242,970,273 | 25% | ||
mcoinz79 | 0 | 2,170,588,674 | 1% | ||
shitsignals | 0 | 2,026,648,345 | 5% | ||
themarkymark | 0 | 2,327,000,613,857 | 12% | ||
pixelfan | 0 | 13,081,146,101 | 2% | ||
leaky20 | 0 | 73,125,952,134 | 100% | ||
tykee | 0 | 6,514,247,481 | 50% | ||
thatindianlady | 0 | 14,895,910,448 | 5% | ||
valchiz | 0 | 1,558,161,723 | 10% | ||
chops316 | 0 | 38,127,899,403 | 100% | ||
felander | 0 | 26,071,941,600 | 5% | ||
jedigeiss | 0 | 1,314,446,339,237 | 100% | ||
fbslo | 0 | 750,413,812 | 0.25% | ||
accelerator | 0 | 59,327,924,468 | 5% | ||
buildawhale | 0 | 8,002,731,767,772 | 12% | ||
artonmysleeve | 0 | 19,864,159,211 | 3.75% | ||
paullifefit | 0 | 700,791,982 | 75% | ||
yogacoach | 0 | 2,304,897,696 | 2.5% | ||
therealwolf | 0 | 919,213,152,597 | 3% | ||
roleerob | 0 | 524,212,950,110 | 75% | ||
deathwing | 0 | 6,945,837,780 | 5% | ||
makerhacks | 0 | 30,047,627,910 | 12% | ||
khaleelkazi | 0 | 231,435,436,066 | 70% | ||
josediccus | 0 | 274,717,374,144 | 50% | ||
caladan | 0 | 17,485,649,930 | 5% | ||
emrebeyler | 0 | 88,009,841,689 | 5% | ||
smartsteem | 0 | 191,860,192,259 | 3% | ||
chireerocks | 0 | 12,883,187,875 | 50% | ||
kamchore | 0 | 143,751,522,264 | 100% | ||
ats-witness | 0 | 177,048,783,335 | 50% | ||
fourfourfun | 0 | 6,914,862,796 | 25% | ||
fun2learn | 0 | 4,418,030,185 | 3% | ||
nealmcspadden | 0 | 64,749,448,476 | 5% | ||
bala41288 | 0 | 150,143,604,231 | 50% | ||
purefood | 0 | 72,398,411,694 | 5% | ||
chorock | 0 | 548,628,901,447 | 45% | ||
jjangdol69 | 0 | 13,326,366,195 | 100% | ||
investprosper | 0 | 4,379,289,227 | 12.5% | ||
penderis | 0 | 21,362,456,981 | 50% | ||
anikys3reasure | 0 | 533,984,655 | 10% | ||
amico | 0 | 16,686,853,911 | 1% | ||
josevas217 | 0 | 693,368,758 | 0.32% | ||
bestboom | 0 | 20,111,919,408 | 5% | ||
jan23com | 0 | 5,009,390,512 | 90% | ||
freddio | 0 | 21,468,665,580 | 15% | ||
gadrian | 0 | 52,473,797,549 | 35% | ||
tonimontana | 0 | 528,540,136 | 19.14% | ||
choco11oreo11 | 0 | 3,327,351,973 | 90% | ||
quochuy | 0 | 136,221,951,839 | 9.73% | ||
trumpman2 | 0 | 5,850,376,843 | 53% | ||
slobberchops | 0 | 985,298,667,815 | 20% | ||
swisswitness | 0 | 3,044,745,930 | 5% | ||
suonghuynh | 0 | 15,250,971,154 | 6% | ||
czera | 0 | 19,213,264,036 | 100% | ||
steemulant | 0 | 777,264,241 | 37.33% | ||
thehive | 0 | 76,682,699,529 | 70% | ||
dalz | 0 | 7,037,137,817 | 2.5% | ||
smartvote | 0 | 133,386,458,928 | 6% | ||
jk6276 | 0 | 0 | 1% | ||
littleshadow | 0 | 4,596,452,449 | 90% | ||
dlike | 0 | 61,802,508,457 | 5% | ||
voxmortis | 0 | 1,149,123,502 | 0.5% | ||
joseph6232 | 0 | 1,577,640,908 | 90% | ||
emaillisahere | 0 | 3,039,285,951 | 75% | ||
buzzbee | 0 | 631,305,193 | 50% | ||
gordonramzy | 0 | 555,695,424 | 100% | ||
caoimhin | 0 | 3,590,559,750 | 100% | ||
bobby.madagascar | 0 | 4,432,339,918 | 3.75% | ||
djtrucker | 0 | 1,343,582,678 | 75% | ||
oakshieldholding | 0 | 119,087,155 | 100% | ||
laissez-faire | 0 | 83,024,124 | 100% | ||
marshalmugi | 0 | 38,870,750,638 | 85% | ||
podg3 | 0 | 1,499,871,908 | 90% | ||
misstaken | 0 | 5,647,339,319 | 90% | ||
balticbadger | 0 | 6,105,275,830 | 25% | ||
ldp | 0 | 626,030,559 | 5% | ||
merlin7 | 0 | 64,770,547,745 | 5% | ||
followjohngalt | 0 | 28,662,169,684 | 5% | ||
brosgn | 0 | 11,452,908,772 | 50% | ||
bro-poker | 0 | 69,648,188,139 | 50% | ||
jussbren | 0 | 1,746,905,823 | 90% | ||
dein-problem | 0 | -121,753,598 | -1% | ||
smokingfit | 0 | 2,635,050,038 | 50% | ||
bluerobo | 0 | 88,505,780,915 | 100% | ||
bluesniper | 0 | 133,758,523,893 | 23.1% | ||
primeradue | 0 | 33,155,783,626 | 33% | ||
permaculturedude | 0 | 1,923,124,003 | 5% | ||
steemtelly | 0 | 9,323,974,827 | 36.43% | ||
hanke | 0 | 6,486,742,899 | 100% | ||
leeyh2 | 0 | 9,048,771,754 | 100% | ||
samuel.steem | 0 | 902,718,538 | 100% | ||
paolo.senegal | 0 | 1,332,947,225 | 100% | ||
engrsayful | 0 | 2,828,163,822 | 5% | ||
mfblack | 0 | 23,575,814,855 | 4.75% | ||
coredump | 0 | 62,863,140 | 10% | ||
epicdice | 0 | 6,670,815,575 | 0.9% | ||
gadrian-sp | 0 | 12,973,861,524 | 35% | ||
bro-rando | 0 | 7,051,087,831 | 50% | ||
sm-silva | 0 | 537,621,228 | 2.5% | ||
botony | 0 | 36,716,041 | 3.63% | ||
haxxdump | 0 | 19,234,869 | 10% | ||
wulff-media | 0 | 42,055,115,219 | 50% | ||
tinyhousecryptos | 0 | 530,101,010 | 5% | ||
quantumdeveloper | 0 | 2,414,480,794 | 50% | ||
maruskina | 0 | 30,144,767,614 | 50% | ||
brosino | 0 | 7,188,603,412 | 50% | ||
firefuture | 0 | 1,442,763,129 | 2.5% | ||
nalacanecorso | 0 | 1,131,752,413 | 100% | ||
brosgn.fund | 0 | 29,439,288,711 | 50% | ||
suigener1s | 0 | 544,651,247 | 100% | ||
shimozurdo | 0 | 1,037,249,579 | 5% | ||
milu-the-dog | 0 | 2,149,748,249 | 5% | ||
yeswecan | 0 | 14,496,996,263 | 90% | ||
triplea.bot | 0 | 1,771,227,063 | 5% | ||
steem.leo | 0 | 106,975,695,189 | 5% | ||
leovoter | 0 | 496,965,257 | 40% | ||
mindtrap-leo | 0 | 339,017,944 | 17.88% | ||
partitura.leo | 0 | 268,384,984 | 100% | ||
leo.voter | 0 | 2,120,785,238,347 | 25% | ||
leo.curator | 0 | 2,057,078,354 | 67.9% | ||
neoxiancity | 0 | 15,263,823,218 | 20% | ||
freddio.sport | 0 | 6,174,217,310 | 15% | ||
zaku-leo | 0 | 815,365,488 | 25% | ||
boohugs | 0 | 796,598,493 | 100% | ||
asteroids | 0 | 4,917,842,898 | 4.5% | ||
midlet-yourleo | 0 | 884,943,484 | 67.9% | ||
mapxv | 0 | 4,016,926,008 | 29% | ||
abh12345.stem | 0 | 848,893,333 | 100% | ||
abh12345.neox | 0 | 0 | 8.1% | ||
eloi | 0 | 637,382,363 | 70% | ||
btc4breackfast | 0 | 1,734,467,041 | 100% | ||
acta | 0 | 23,306,927,434 | 100% | ||
the-table | 0 | 15,974,309,358 | 90% | ||
cardtrader | 0 | 2,890,202,988 | 100% | ||
maxuvd | 0 | 25,226,709,182 | 6% | ||
maxuve | 0 | 28,096,229,403 | 6% | ||
brocfml | 0 | 777,688,861 | 100% | ||
deflacion | 0 | 976,252,455 | 9.9% | ||
stem.alfa | 0 | 424,679,490 | 100% | ||
thehouse | 0 | 1,633,891,740 | 90% | ||
vxc.stem | 0 | 0 | 19.14% | ||
spinvest-leo | 0 | 352,510,802 | 5% | ||
stemd | 0 | 321,908,966 | 100% | ||
astraeas | 0 | 743,025,733 | 70% | ||
akpofure | 0 | 267,648,286 | 70% | ||
chloem | 0 | 745,680,694 | 70% | ||
leotrail | 0 | 741,401,737 | 69.65% | ||
tonimontana.leo | 0 | 784,102,288 | 17.88% | ||
tonimontana.neo | 0 | 0 | 0.45% | ||
silverquest | 0 | 115,958,755,416 | 90% | ||
yggdrasil.laguna | 0 | 355,968,613 | 70% | ||
cd-stem | 0 | 531,080,039 | 100% | ||
gerbo | 0 | 12,857,410 | 5% | ||
pecoshop | 0 | 1,745,432,432 | 100% | ||
javb | 0 | 3,012,441,175 | 20% | ||
honeychip | 0 | 7,593,835,419 | 85% | ||
stem.curate | 0 | 861,122,654 | 100% | ||
spinvest-neo | 0 | 541,664,444 | 10% | ||
tariqul.bibm | 0 | 3,065,893,218 | 12.5% | ||
boomalex | 0 | 2,369,055,586 | 100% | ||
oblivioncubed | 0 | 53,991,960,493 | 100% | ||
empoderat.leo | 0 | 137,733,875 | 53% | ||
ribary | 0 | 1,620,013,526 | 2.5% | ||
machete9595 | 0 | 2,284,159,108 | 100% | ||
mice-k | 0 | 24,299,454,653 | 5% | ||
davidlionfish | 0 | 16,463,911,935 | 50% | ||
platino94 | 0 | 28,061,837,763 | 53% | ||
curamax | 0 | 2,263,108,036 | 5% | ||
sujaytechnicals | 0 | 222,828,317 | 100% | ||
tommys.shop | 0 | 1,487,718,573 | 90% | ||
steemcityrewards | 0 | 366,608,766 | 5% | ||
dpend.active | 0 | 1,620,876,801 | 1% | ||
hivewaves | 0 | 564,597,881 | 75% | ||
leofinance | 0 | 14,112,984,841 | 25% | ||
hiveyoda | 0 | 12,317,071,209 | 4% | ||
master-lamps | 0 | 0 | 100% | ||
gitplait | 0 | 66,568,151,798 | 100% | ||
dcityrewards | 0 | 141,118,664,567 | 5% | ||
paulman | 0 | 1,395,259,479 | 75% | ||
hiveonboard | 0 | 2,304,117,001 | 2.25% | ||
adamsidney | 0 | 30,998,893 | 8% | ||
brofund-leo | 0 | 691,705,834 | 50% | ||
hivecur | 0 | 128,474,265,467 | 5% | ||
chartreader | 0 | 232,188,304 | 5% | ||
beemd | 0 | 10,561,186,974 | 100% | ||
cmplxty.leo | 0 | 1,359,014,893 | 40% |
I have picked your post for my daily hive voting initiative, Keep it up and Hive On!!
author | chitty |
---|---|
permlink | re-automating-historical-price-data-downloads-from-yahoo-finance-using-selenium-in-python-20200825t000446 |
category | hive-167922 |
json_metadata | "" |
created | 2020-08-25 00:04:51 |
last_update | 2020-08-25 00:04:51 |
depth | 1 |
children | 0 |
last_payout | 2020-09-01 00:04:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 86 |
author_reputation | 86,901,300,608,582 |
root_title | "Automating Historical Price Data Downloads From Yahoo Finance Using Selenium In Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 99,256,847 |
net_rshares | 0 |
Upvoted by GITPLAIT! We have a curation trial on Hive.vote. you can earn a passive income by delegating to [@gitplait](https://hive.vote/dash.php?i=15&id=1&user=gitplait) We share 80 % of the curation rewards with the delegators. ___ _To delegate, use the links or adjust_ [10HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=10%20HP), [20HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=20%20HP), [50HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=50%20HP), [100HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=100%20HP), [200HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=200%20HP), [500HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=500%20HP), [1,000HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=1000%20HP), [10,000HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=10000%20HP), [100,000HIVE](https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=100000%20HP) ___ Join the [Community](https://hive.blog/trending/hive-103590) and chat with us on [Discord](https://discord.gg/CWCj3rw) letโs solve problems & build together.
author | gitplait |
---|---|
permlink | qfbs41 |
category | hive-167922 |
json_metadata | {"links":["https://hive.vote/dash.php?i=15&id=1&user=gitplait","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=10%20HP","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=20%20HP","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=50%20HP","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=100%20HP","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=200%20HP","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=500%20HP","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=1000%20HP","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=10000%20HP","https://hivesigner.com/sign/delegateVestingShares?delegator=&delegatee=gitplait&vesting_shares=100000%20HP","https://hive.blog/trending/hive-103590","https://discord.gg/CWCj3rw"],"app":"hiveblog/0.1"} |
created | 2020-08-19 19:14:27 |
last_update | 2020-08-19 19:14:27 |
depth | 1 |
children | 0 |
last_payout | 2020-08-26 19:14:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,493 |
author_reputation | 911,220,543,569 |
root_title | "Automating Historical Price Data Downloads From Yahoo Finance Using Selenium In Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 99,160,643 |
net_rshares | 0 |
Selenium is incredibly useful, and for Python there's the added support of being able to use the RIDE GUI with it - which makes the development of test suites even faster. Though, for some things, it's just nicer to be able to write it all by hand the way you want. Great post, and great to see Selenium being talked about here!
author | oblivioncubed |
---|---|
permlink | re-geekgirl-qfan78 |
category | hive-167922 |
json_metadata | {"tags":["hive-167922"],"app":"peakd/2020.08.3"} |
created | 2020-08-19 04:30:45 |
last_update | 2020-08-19 04:30:45 |
depth | 1 |
children | 2 |
last_payout | 2020-08-26 04:30:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.176 HBD |
curator_payout_value | 0.176 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 329 |
author_reputation | 169,192,892,065,236 |
root_title | "Automating Historical Price Data Downloads From Yahoo Finance Using Selenium In Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 99,149,031 |
net_rshares | 1,318,363,032,266 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
geekgirl | 0 | 1,318,363,032,266 | 100% |
Thank you! I havenโt used RIDE GUI yet. Will try when I get a chance.
author | geekgirl |
---|---|
permlink | re-oblivioncubed-qfanog |
category | hive-167922 |
json_metadata | {"tags":["hive-167922"],"app":"peakd/2020.08.3"} |
created | 2020-08-19 04:41:06 |
last_update | 2020-08-19 04:41:06 |
depth | 2 |
children | 1 |
last_payout | 2020-08-26 04:41:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 70 |
author_reputation | 1,588,017,773,177,039 |
root_title | "Automating Historical Price Data Downloads From Yahoo Finance Using Selenium In Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 99,149,145 |
net_rshares | 0 |
It's available through a pip install and combines robot-framework with Selenium, and then wraps both in a simple plain-English keyword setup. It's really slick. I do QA as my day job so I've got a suite of verging on 200 tests right now that I run through it every day. Highly recommend if you're doing repetitive testing! Hope you enjoy it when you're able to give it a try!
author | oblivioncubed |
---|---|
permlink | re-geekgirl-qfao7y |
category | hive-167922 |
json_metadata | {"tags":["hive-167922"],"app":"peakd/2020.08.3"} |
created | 2020-08-19 04:52:45 |
last_update | 2020-08-19 04:52:45 |
depth | 3 |
children | 0 |
last_payout | 2020-08-26 04:52:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.081 HBD |
curator_payout_value | 0.064 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 375 |
author_reputation | 169,192,892,065,236 |
root_title | "Automating Historical Price Data Downloads From Yahoo Finance Using Selenium In Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 99,149,240 |
net_rshares | 647,694,286,933 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
geekgirl | 0 | 647,694,286,933 | 50% |