Toggle navigation
Toggle navigation
This project
Loading...
Sign in
최원석
/
2021-1-database-project
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
1seok2
2021-03-28 18:06:01 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
33cdd747aee9ea2a666f1a8474393bc7d0db6f2e
33cdd747
1 parent
901d59ad
fix loader
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
12 deletions
.DS_Store
app/src/assets/style/Footer.scss
app/src/assets/style/Intro.scss
app/src/assets/style/PageLoader.scss
app/src/views/body/contents/intro/Intro.ts
crawler/crawler_instagram.py
.DS_Store
View file @
33cdd74
No preview for this file type
app/src/assets/style/Footer.scss
View file @
33cdd74
...
...
@@ -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
;
...
...
app/src/assets/style/Intro.scss
View file @
33cdd74
...
...
@@ -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
;
}
...
...
app/src/assets/style/PageLoader.scss
View file @
33cdd74
.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
;
}
...
...
app/src/views/body/contents/intro/Intro.ts
View file @
33cdd74
...
...
@@ -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>
...
...
crawler/crawler_instagram.py
View file @
33cdd74
...
...
@@ -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
)
...
...
Please
register
or
login
to post a comment