update reqs
This commit is contained in:
parent
9c2928fa4e
commit
382135ac1a
3
Pipfile
3
Pipfile
@ -21,7 +21,7 @@ django-bootstrap4 = "*"
|
||||
daphne = "*"
|
||||
markovify = "*"
|
||||
python-anticaptcha = "*"
|
||||
vk-api = "*"
|
||||
vk-api = "11.9.7"
|
||||
sentry-sdk = "*"
|
||||
python-twitter = "*"
|
||||
pytelegrambotapi = "*"
|
||||
@ -40,6 +40,7 @@ django-picklefield = "*"
|
||||
boto3 = "*"
|
||||
filetype = "*"
|
||||
qrtools = "*"
|
||||
vkwave = "*"
|
||||
|
||||
[dev-packages]
|
||||
|
||||
|
1308
Pipfile.lock
generated
1308
Pipfile.lock
generated
File diff suppressed because it is too large
Load Diff
@ -4,6 +4,7 @@ from djconfig import config
|
||||
from telegram import Bot, InputMediaPhoto
|
||||
from vk_api import VkApi
|
||||
from vk_api.audio import VkAudio
|
||||
import vkwave
|
||||
|
||||
from feeds.models import FeedModuleConfig
|
||||
from feeds.modules.utils import get_vk_photo, get_vk_audio
|
||||
@ -26,7 +27,7 @@ class VKFeedModuleConfig(FeedModuleConfig):
|
||||
vk_session = VkApi(login=config.vk_username, password=config.vk_password, config=DatabaseConfig,
|
||||
api_version='5.60', captcha_handler=captcha_handler)
|
||||
vk_session.auth()
|
||||
vk_audio = VkAudio(vk_session)
|
||||
# vk_audio = VkAudio(vk_session)
|
||||
vk = vk_session.get_api()
|
||||
wall_data = vk.wall.get(owner_id=self.owner_id)
|
||||
for post in reversed(wall_data['items']):
|
||||
|
Loading…
Reference in New Issue
Block a user