Skip to content

Instantly share code, notes, and snippets.

Avatar

Evgeny Lukin DxDiagDx

View GitHub Profile
@DxDiagDx
DxDiagDx / avito_phone.py
Last active Aug 24, 2022
AVITO - парсинг номера телефона
View avito_phone.py
import urllib.parse
import requests
def get_phone(offer_id):
"""offer_id - ID объявления"""
params = (
('key', 'af0deccbgcgidddjgnvljitntccdduijhdinfgjgfjir'),
)
View checkbox_input.php
<?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