Skip to content

Instantly share code, notes, and snippets.

View metr1ckzu's full-sized avatar
:shipit:
Got some memes?

Emir Sabyrkulov metr1ckzu

:shipit:
Got some memes?
View GitHub Profile
# Stage 1 - the build process
FROM node:10.13.0-slim as build-deps
WORKDIR /usr/src/app
COPY . /usr/src/app
ARG API_URL
ARG KYC_API_URL
RUN npm install
RUN REACT_APP_API_URL=${API_URL} REACT_APP_KYC_API_URL=${KYC_API_URL} npm run build
/Users/user/Documents/projects/youtube-mp3-download/lib/python3.6/site-packages/celery/backends/amqp.py:68: CPendingDeprecationWarning:
The AMQP result backend is scheduled for deprecation in version 4.0 and removal in version v5.0. Please use RPC backend or a persistent backend.
alternative='Please use RPC backend or a persistent backend.')
celery@MacBook-Pro-user.local v4.1.0 (latentcall)
Darwin-16.6.0-x86_64-i386-64bit 2017-08-18 08:49:36
[config]
from django.shortcuts import redirect, render, get_object_or_404
import requests
from bs4 import BeautifulSoup
def submit(request):
template_name = 'downloader/index.html'
result_template_name = 'downloader/saver_page.html'
if request.method == 'POST':