Giter VIP home page Giter VIP logo

lolzteam's Issues

414 Request-URI Too Large

Hello. I'm trying to automate account selling for a lzt account. Of course I have acquired the Market monthly subscription to be able to access that scope.

The item gets created correctly:

{'status': 'ok', 'item': {'title_en': 'TikTok account full access live enabled', 'price': 193, 'item_origin': 'resale', 'proxy_id': 0, 'extended_guarantee': 0, 'email_type': 'autoreg', 'allow_ask_discount': 1, 'category_id': 20, 'description': '', 'description_en': '', 'title': 'Полный доступ к аккаунту TikTok в реальном времени включен',  'item_domain': 'hotmail.com', 'published_date': 1696116450, 'item_state': 'awaiting', 'update_stat_date': 0, 'refreshed_date': 1696116450, 'view_count': 0, 'is_sticky': 0, 'nsb': -1, 'is_reserved': 0, 'active_auction': 0, 'item_id': 756....2, 'reserve': {'reserve_user_id': 0, 'reserve_date': 0}, 'description_html': '', 'description_html_en': '', 'seller': {'user_id': 7180.......}}, 'isIsolatedMarket': True, 'isIsolatedMarketAlt': False, 'system_info': {'visitor_id': 7180...., 'time': 1696116450}}

But when using the check API I get this:

<html>
<head><title>414 Request-URI Too Large</title></head>
<body>
<center><h1>414 Request-URI Too Large</h1></center>
<hr><center>nginx</center>
</body>
</html>

This is my code:

market_check_response:dict = LZTAPI.market.publishing.check(
    item_id=new_product_id,
    login_password=f"{login['email']}:{login['password']}",
    extra={"cookies":json.dumps(cookies)},
    close_item=True
)
print("market_check_response", market_check_response)

Market.managing.telegram_reset() doesn't work

Hello. I'm trying to reset telegram authorizations. When i call market.managing.telegram_reset() i catch an error. LOLZTEAM version 1.2.5

My code:

market = Market(token=my_token, language="en")
response = market.managing.telegram_reset(item_id=my_item_id)

Error:

 File "/home/username/.virtualenvs/work_folder/lib/python3.10/site-packages/LOLZTEAM/API.py", line 36, in _send_request
    url = self.base_url + path
TypeError: can only concatenate str (not "dict") to str

Same problem with market.managing.telegram(my_item_id) method.

README.md example usage unused imports

Example usage in README:

from LOLZTEAM import AutoUpdate
from LOLZTEAM import Constants
from LOLZTEAM.API import Forum, Market, Antipublic
from LOLZTEAM.Tweaks import DelaySync, SendAsAsync, CreateJob

token = "your_token"

market = Market(token=token, language="en")
forum = Forum(token=token, language="en")
antipublic = Antipublic(token="Antipublic_key")

DelaySync(apis=[market,forum])

Unused imports: AutoUpdate, Constants, SendAsAsync, CreateJob

Perhaps they should be removed or an example of use should be added?

.get() returns type Any

issue title is pretty self-explanatory

example:

response = Market().category.telegram.get()

image

Market.managing.telegram(item_id)

Hello. I'm trying to get telegram confirmation code to login to telegram. When i call market.managing.telegram(item_id) that doesn't return dict "codes" how it worked before. In fact i can get code manually from site, but not from api. LOLZTEAM version 1.2.9.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.