Skip to content

Instantly share code, notes, and snippets.

View DxDiagDx's full-sized avatar
:octocat:

Evgeny Lukin DxDiagDx

:octocat:
View GitHub Profile
@DxDiagDx
DxDiagDx / avito_phone.py
Last active August 24, 2022 09:56
AVITO - парсинг номера телефона
import urllib.parse
import requests
def get_phone(offer_id):
"""offer_id - ID объявления"""
params = (
('key', 'af0deccbgcgidddjgnvljitntccdduijhdinfgjgfjir'),
)
<?php
$args = array(
'label' => '', // Text in Label
'class' => '',
'style' => '',
'wrapper_class' => '',
'value' => '', // if empty, retrieved from post meta where id is the meta_key
'id' => '', // required
'name' => '', //name will set from id if empty