• This project
    • Loading...
  • Sign in

최원석 / 2021-1-database-project

%ea%b7%b8%eb%a6%bc1
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
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • 2021-1-database-project
  • router
  • update.py
  • 1seok2's avatar
    feat: search database by id · ad28eed3
    ad28eed3
    1seok2 authored 2021-06-04 00:33:09 +0900
update.py 241 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12
from crawler.crawler_instagram import crawler_instagram
from flask import jsonify


def update(insta_id):
    data = {}
    try:
        data = crawler_instagram(insta_id)
    except Exception as e:
        print(e)

    return jsonify(data)