Skip to content

Commit 43ead53

Browse files
committed
cleaning stuff 28.04.17
1 parent 74d15bb commit 43ead53

2 files changed

Lines changed: 1 addition & 83 deletions

File tree

vk_api/vk_audio.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# -*- coding: utf-8 -*-
22
from bs4 import BeautifulSoup
33
import re
4-
from .vk_audio_decoder import decode
54
from .exceptions import AccessDenied
65

76
RE_VALUE = re.compile(r'>(.*?)<')
@@ -49,11 +48,10 @@ def scrap_data(html):
4948
ai_artist = audio.select('.ai_artist')
5049
artist = ai_artist[0].text
5150
link = audio.select('.ai_body')[0].input['value']
52-
url = decode(link)
5351
data = {'artist': artist,
5452
'title': value(audio.select('.ai_title')),
5553
'dur': value(audio.select('.ai_dur'), duration=True),
5654
'id': audio['id'],
57-
'url': url}
55+
'url': link}
5856
songs.append(data)
5957
return songs

vk_api/vk_audio_decoder.py

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)