import urllib.parse
from notifier.grabbers.base import Base, Internet


class PSily(object):    

    @staticmethod
    def sync(obj: Base, *args, **kwargs):
                
        r = Internet.html_get(obj.sync_type.base_url)
        links = r.html.xpath('/html/body/div[*]/div[*]/div/div[*]/div[*]/section/div[*]/div[*]/div[*]/a')                                      

        for a in links[::-1]:
            path = a.attrs.get('href').split("?")[0]
            url = urllib.parse.urljoin(obj.sync_type.base_url, path)
            name = a.text.strip()            

            obj.add_text_task(
                unique_key=url,
                name=name,
                url=url,
                data=dict(text=url)
            )

4b4d50cb2e6cca209e98306550db27010c202d7a
<mask token>

<mask token>


class PSily(object):
    <mask token>

<mask token>


class PSily(object):

    @staticmethod
    def sync(obj: Base, *args, **kwargs):
        r = Internet.html_get(obj.sync_type.base_url)
        links = r.html.xpath(
            '/html/body/div[*]/div[*]/div/div[*]/div[*]/section/div[*]/div[*]/div[*]/a'
            )
        for a in links[::-1]:
            path = a.attrs.get('href').split('?')[0]
            url = urllib.parse.urljoin(obj.sync_type.base_url, path)
            name = a.text.strip()
            obj.add_text_task(unique_key=url, name=name, url=url, data=dict
                (text=url))

import urllib.parse
from notifier.grabbers.base import Base, Internet


class PSily(object):

    @staticmethod
    def sync(obj: Base, *args, **kwargs):
        r = Internet.html_get(obj.sync_type.base_url)
        links = r.html.xpath(
            '/html/body/div[*]/div[*]/div/div[*]/div[*]/section/div[*]/div[*]/div[*]/a'
            )
        for a in links[::-1]:
            path = a.attrs.get('href').split('?')[0]
            url = urllib.parse.urljoin(obj.sync_type.base_url, path)
            name = a.text.strip()
            obj.add_text_task(unique_key=url, name=name, url=url, data=dict
                (text=url))

import urllib.parse
from notifier.grabbers.base import Base, Internet


class PSily(object):    

    @staticmethod
    def sync(obj: Base, *args, **kwargs):
                
        r = Internet.html_get(obj.sync_type.base_url)
        links = r.html.xpath('/html/body/div[*]/div[*]/div/div[*]/div[*]/section/div[*]/div[*]/div[*]/a')                                      

        for a in links[::-1]:
            path = a.attrs.get('href').split("?")[0]
            url = urllib.parse.urljoin(obj.sync_type.base_url, path)
            name = a.text.strip()            

            obj.add_text_task(
                unique_key=url,
                name=name,
                url=url,
                data=dict(text=url)
            )
