1seok2

fix loader

No preview for this file type
......@@ -6,10 +6,9 @@
justify-content: center;
align-items: center;
font-size: .8rem;
width: 100%;
div {
padding: .3rem 1.6rem;
padding: .3rem 0 .3rem 1.6rem;
width: 90%;
text-align: left;
color: #aaaaaa;
......
......@@ -7,11 +7,9 @@
display: block;
width: calc(100% - 1.4rem);
border-bottom: 1px solid #aaa;
margin: 1.2rem 0;
margin-top: 2.4rem;
margin: 2.4rem 0 1.2rem;
padding: 0.7rem 0.7rem;
color: #333;
border-radius: .25rem;
&::placeholder {
color: #aaaaaa;
}
......
.page-loader {
position: fixed;
left: 46%;
top: 47%;
display: none;
width: 80px;
height: 80px;
z-index: -1;
z-index: 1;
transform: translate(-50%, -50%);
position: fixed;
left: 50%;
top: 50%;
}
.page-loader:after {
content: " ";
......@@ -16,7 +17,6 @@
border-radius: 50%;
border: 12px solid #aaa;
border-color: #a29bfe transparent #a29bfe transparent;
transform: translate(-50%, -50%);
animation: spin 1.2s both infinite;
}
......
......@@ -16,7 +16,7 @@ const Intro = (): string =>{
id="id-input"
type="text"
name="insta_id"
placeholder="INSTAGRAM ID"
placeholder="INSTAGRAM NICKNAME"
/>
<button id="search-button">SEARCH</button>
</label>
......
......@@ -62,7 +62,7 @@ def get_list(insta_id, driver):
def crawler_instagram(insta_id):
options = Options()
# options.add_argument("--headless")
options.add_argument("--headless")
options.add_argument("window-size=1920,1080")
driver = webdriver.Chrome(chrome_options=options, executable_path=LOCAL_PROJECT_PATH + '/crawler/chromedriver')
driver.get(url=INSTAGRAM_URL)
......